#337FAA#337FAA
#337FAA is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.099 H 237.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #337FAA |
|---|---|
| RGB | rgb(51, 127, 170) |
| HSL | hsl(202, 54%, 43%) |
| HSV | hsv(202, 70%, 67%) |
| CMYK | cmyk(70%, 25.3%, 0%, 33.3%) |
| CIE-LAB | lab(50.43, -9.08, -29.64) |
| CIE-LCH | lch(50.43, 31.00, 252.97°) |
| OKLab | oklab(56.85% -0.0539 -0.0834) |
| OKLCH | oklch(56.85% 0.099 237.1) |
| XYZ | xyz(16.2075, 18.7831, 40.7937) |
| Luminance | 0.1878 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.94
Cerulean
#007BA7
ΔE00 3.14
Steel Blue
#4682B4
ΔE00 3.93
Stormy Blue
#507B9C
ΔE00 4.28
Cool Blue
#4984B8
ΔE00 4.79
Dirty Blue
#3F829D
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337FAA #AA5E33
analogous
#33AA99 #337FAA #3343AA
triadic
#337FAA #AA337F #7FAA33
tetradic
#337FAA #9933AA #AA5E33 #43AA33
square
#337FAA #9933AA #AA5E33 #43AA33
split-complementary
#337FAA #AA3343 #AA9933
monochromatic
#17394C #255C7B #337FAA #509ECA #7FB8D9
Accessibility & contrast
On white
4.41
#337FAA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#337FAA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #337FAA
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337FAA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##337FAA | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B7FAC
Deuteranopia (green-blind)
#5A73A9
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #337faa; /* rgb */ color: rgb(51, 127, 170); /* oklch */ color: oklch(56.9% 0.099 237.1);
Tailwind
colors: {
custom: {
50: '#79a4c3',
500: '#337faa',
950: '#000000',
},
}SCSS
$custom: #337faa; $custom-light: #79a4c3; $custom-dark: #000000;
JSON
{
"hex": "#337faa",
"rgb": {
"r": 51,
"g": 127,
"b": 170
},
"hsl": {
"h": 201.681,
"s": 53.846,
"l": 43.333
},
"oklch": {
"l": 0.56852,
"c": 0.09935,
"h": 237.1
},
"luminance": 0.18785
}Semantic roles & 50–950 ramp
primary
#337FAA
secondary
#C29277
accent
#804BDD
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81