#336F9F#336F9F
#336F9F is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.4% C 0.098 H 245.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #336F9F |
|---|---|
| RGB | rgb(51, 111, 159) |
| HSL | hsl(207, 51%, 41%) |
| HSV | hsv(207, 68%, 62%) |
| CMYK | cmyk(67.9%, 30.2%, 0%, 37.6%) |
| CIE-LAB | lab(45.05, -3.51, -31.63) |
| CIE-LCH | lch(45.05, 31.82, 263.66°) |
| OKLab | oklab(52.42% -0.0408 -0.0893) |
| OKLCH | oklch(52.42% 0.098 245.4) |
| XYZ | xyz(13.3053, 14.5745, 34.9061) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.10
Flat Blue
#3C73A8
ΔE00 2.34
Dull Blue
#49759C
ΔE00 3.37
Mid Blue
#276AB3
ΔE00 3.57
Medium Blue
#2C6FBB
ΔE00 3.78
Bluish
#2976BB
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F9F #9F6333
analogous
#339F99 #336F9F #33399F
triadic
#336F9F #9F336F #6F9F33
tetradic
#336F9F #99339F #9F6333 #399F33
square
#336F9F #99339F #9F6333 #399F33
split-complementary
#336F9F #9F3339 #9F9933
monochromatic
#152E42 #244F71 #336F9F #4A8EC5 #79ABD4
Accessibility & contrast
On white
5.36
#336F9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#336F9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F9F
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F9F | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A70A1
Deuteranopia (green-blind)
#4B669E
Tritanopia (blue-blind)
#007B80
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #336f9f; /* rgb */ color: rgb(51, 111, 159); /* oklch */ color: oklch(52.4% 0.098 245.4);
Tailwind
colors: {
custom: {
50: '#7798bb',
500: '#336f9f',
950: '#000000',
},
}SCSS
$custom: #336f9f; $custom-light: #7798bb; $custom-dark: #000000;
JSON
{
"hex": "#336f9f",
"rgb": {
"r": 51,
"g": 111,
"b": 159
},
"hsl": {
"h": 206.667,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.5242,
"c": 0.09822,
"h": 245.4
},
"luminance": 0.14576
}Semantic roles & 50–950 ramp
primary
#336F9F
secondary
#BC9371
accent
#8C4DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81