#338AF0
A medium, vivid blue closely aligning with Dodgerblue.
About #338AF0
The hex code #338AF0 represents a beautifully specific shade of blue. It is closely associated with the named CSS color Dodgerblue. In the RGB color space, it consists of 51 red, 138 green, and 240 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 79% Cyan, 43% Magenta, 0% Yellow, and 6% Black. This makes it a relatively light color when applied to physical surfaces.
When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #000000 typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#338AF0
RGB51, 138, 240
HSL212.4°, 86.3%, 57.1%
CMYK79%, 43%, 0%, 6%
HSV212.4°, 78.8%, 94.1%
LAB57.2, 9.6, -58.5
XYZ26.2, 25.2, 85.9
Decimal3377904
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
3.48:1
Text on #FFFFFF
AA Large
6.03:1
Text on #000000
AA
3.33:1
Text on #F8FAFC
AA Large
5.13:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #338AF0;
}
.text-color {
color: #338AF0;
}
.border-color {
border: 2px solid #338AF0;
}