#397FAC#397FAC
#397FAC is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.2% C 0.099 H 239.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #397FAC |
|---|---|
| RGB | rgb(57, 127, 172) |
| HSL | hsl(203, 50%, 45%) |
| HSV | hsv(203, 67%, 67%) |
| CMYK | cmyk(66.9%, 26.2%, 0%, 32.5%) |
| CIE-LAB | lab(50.72, -7.41, -30.34) |
| CIE-LCH | lch(50.72, 31.23, 256.27°) |
| OKLab | oklab(57.16% -0.0495 -0.0854) |
| OKLCH | oklch(57.16% 0.099 239.9) |
| XYZ | xyz(16.7203, 19.0254, 41.8128) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.82
Nice Blue
#107AB0
ΔE00 3.00
Cool Blue
#4984B8
ΔE00 3.72
Stormy Blue
#507B9C
ΔE00 3.84
Cerulean
#007BA7
ΔE00 4.15
Off Blue
#5684AE
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397FAC #AC6639
analogous
#39AC9F #397FAC #3946AC
triadic
#397FAC #AC397F #7FAC39
tetradic
#397FAC #9F39AC #AC6639 #46AC39
square
#397FAC #9F39AC #AC6639 #46AC39
split-complementary
#397FAC #AC3946 #AC9F39
monochromatic
#1B3B50 #2A5D7E #397FAC #5A9DC8 #88B8D8
Accessibility & contrast
On white
4.37
#397FAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#397FAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #397FAC
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##397FAC | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A7FAE
Deuteranopia (green-blind)
#5B74AB
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #397fac; /* rgb */ color: rgb(57, 127, 172); /* oklch */ color: oklch(57.2% 0.099 239.9);
Tailwind
colors: {
custom: {
50: '#7ca4c5',
500: '#397fac',
950: '#000000',
},
}SCSS
$custom: #397fac; $custom-light: #7ca4c5; $custom-dark: #000000;
JSON
{
"hex": "#397fac",
"rgb": {
"r": 57,
"g": 127,
"b": 172
},
"hsl": {
"h": 203.478,
"s": 50.218,
"l": 44.902
},
"oklch": {
"l": 0.57162,
"c": 0.0987,
"h": 239.9
},
"luminance": 0.19027
}Semantic roles & 50–950 ramp
primary
#397FAC
secondary
#C2997F
accent
#854EDA
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82