#397BF2#397BF2
#397BF2 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.5% C 0.191 H 261.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #397BF2 |
|---|---|
| RGB | rgb(57, 123, 242) |
| HSL | hsl(219, 88%, 59%) |
| HSV | hsv(219, 76%, 95%) |
| CMYK | cmyk(76.4%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(53.43, 20.19, -65.75) |
| CIE-LCH | lch(53.43, 68.78, 287.07°) |
| OKLab | oklab(60.52% -0.0298 -0.1891) |
| OKLCH | oklch(60.52% 0.191 261.1) |
| XYZ | xyz(24.7915, 21.4437, 86.8196) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 1.21
Lightish Blue
#3D7AFD
ΔE00 1.71
Deep Sky Blue
#0D75F8
ΔE00 2.42
Dodger Blue
#3E82FC
ΔE00 2.60
Azure
#007FFF
ΔE00 2.87
Cerulean Blue
#056EEE
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397BF2 #F2B039
analogous
#39D7F2 #397BF2 #5339F2
triadic
#397BF2 #F2397B #7BF239
tetradic
#397BF2 #F239D7 #F2B039 #39F253
square
#397BF2 #F239D7 #F2B039 #39F253
split-complementary
#397BF2 #F25339 #D7F239
monochromatic
#0B42A6 #0F59DF #397BF2 #72A1F6 #ACC8FA
Accessibility & contrast
On white
3.97
#397BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#397BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #397BF2
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##397BF2 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3389F6
Deuteranopia (green-blind)
#0078F0
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #397bf2; /* rgb */ color: rgb(57, 123, 242); /* oklch */ color: oklch(60.5% 0.191 261.1);
Tailwind
colors: {
custom: {
50: '#89a0f7',
500: '#397bf2',
950: '#000000',
},
}SCSS
$custom: #397bf2; $custom-light: #89a0f7; $custom-dark: #000000;
JSON
{
"hex": "#397bf2",
"rgb": {
"r": 57,
"g": 123,
"b": 242
},
"hsl": {
"h": 218.595,
"s": 87.678,
"l": 58.627
},
"oklch": {
"l": 0.60524,
"c": 0.19145,
"h": 261.1
},
"luminance": 0.21447
}Semantic roles & 50–950 ramp
primary
#397BF2
secondary
#E8CE9F
accent
#B22AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0E17
muted
#7E7E85