#397FAB#397FAB
#397FAB is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.098 H 239.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #397FAB |
|---|---|
| RGB | rgb(57, 127, 171) |
| HSL | hsl(203, 50%, 45%) |
| HSV | hsv(203, 67%, 67%) |
| CMYK | cmyk(66.7%, 25.7%, 0%, 32.9%) |
| CIE-LAB | lab(50.67, -7.76, -29.83) |
| CIE-LCH | lch(50.67, 30.83, 255.43°) |
| OKLab | oklab(57.11% -0.0498 -0.0839) |
| OKLCH | oklch(57.11% 0.098 239.3) |
| XYZ | xyz(16.6246, 18.9871, 41.3089) |
| Luminance | 0.1899 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 3.03
Nice Blue
#107AB0
ΔE00 3.04
Stormy Blue
#507B9C
ΔE00 3.80
Cool Blue
#4984B8
ΔE00 3.92
Cerulean
#007BA7
ΔE00 3.97
Off Blue
#5684AE
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397FAB #AB6539
analogous
#39AB9E #397FAB #3946AB
triadic
#397FAB #AB397F #7FAB39
tetradic
#397FAB #9E39AB #AB6539 #46AB39
square
#397FAB #9E39AB #AB6539 #46AB39
split-complementary
#397FAB #AB3946 #AB9E39
monochromatic
#1A3B4F #2A5D7D #397FAB #599DC8 #87B8D7
Accessibility & contrast
On white
4.38
#397FAB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#397FAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #397FAB
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397FAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##397FAB | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B7FAD
Deuteranopia (green-blind)
#5B74AA
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #397fab; /* rgb */ color: rgb(57, 127, 171); /* oklch */ color: oklch(57.1% 0.098 239.3);
Tailwind
colors: {
custom: {
50: '#7ca4c4',
500: '#397fab',
950: '#000000',
},
}SCSS
$custom: #397fab; $custom-light: #7ca4c4; $custom-dark: #000000;
JSON
{
"hex": "#397fab",
"rgb": {
"r": 57,
"g": 127,
"b": 171
},
"hsl": {
"h": 203.158,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.57112,
"c": 0.0976,
"h": 239.3
},
"luminance": 0.18989
}Semantic roles & 50–950 ramp
primary
#397FAB
secondary
#C1987F
accent
#844EDA
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F12
muted
#7C7F81