#336DAF#336DAF
#336DAF is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.121 H 253.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #336DAF |
|---|---|
| RGB | rgb(51, 109, 175) |
| HSL | hsl(212, 55%, 44%) |
| HSV | hsv(212, 71%, 69%) |
| CMYK | cmyk(70.9%, 37.7%, 0%, 31.4%) |
| CIE-LAB | lab(45.27, 3.50, -40.67) |
| CIE-LCH | lch(45.27, 40.82, 274.92°) |
| OKLab | oklab(52.86% -0.0342 -0.1157) |
| OKLCH | oklch(52.86% 0.121 253.5) |
| XYZ | xyz(14.5689, 14.7347, 42.6254) |
| Luminance | 0.1474 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.25
Medium Blue
#2C6FBB
ΔE00 1.43
Flat Blue
#3C73A8
ΔE00 2.50
French Blue
#436BAD
ΔE00 2.90
Muted Blue
#3B719F
ΔE00 3.01
Bluish
#2976BB
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336DAF #AF7533
analogous
#33ABAF #336DAF #3733AF
triadic
#336DAF #AF336D #6DAF33
tetradic
#336DAF #AF33AB #AF7533 #33AF37
square
#336DAF #AF33AB #AF7533 #33AF37
split-complementary
#336DAF #AF3733 #ABAF33
monochromatic
#173250 #254F80 #336DAF #528CCD #82ABDB
Accessibility & contrast
On white
5.32
#336DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#336DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336DAF
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336DAF | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F71B2
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#007C85
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #336daf; /* rgb */ color: rgb(51, 109, 175); /* oklch */ color: oklch(52.9% 0.121 253.5);
Tailwind
colors: {
custom: {
50: '#7a96c7',
500: '#336daf',
950: '#000000',
},
}SCSS
$custom: #336daf; $custom-light: #7a96c7; $custom-dark: #000000;
JSON
{
"hex": "#336daf",
"rgb": {
"r": 51,
"g": 109,
"b": 175
},
"hsl": {
"h": 211.935,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.52864,
"c": 0.12069,
"h": 253.5
},
"luminance": 0.14736
}Semantic roles & 50–950 ramp
primary
#336DAF
secondary
#C4A17A
accent
#994ADE
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82