#397AF2#397AF2
#397AF2 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.193 H 261.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #397AF2 |
|---|---|
| RGB | rgb(57, 122, 242) |
| HSL | hsl(219, 88%, 59%) |
| HSV | hsv(219, 76%, 95%) |
| CMYK | cmyk(76.4%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(53.16, 20.81, -66.18) |
| CIE-LCH | lch(53.16, 69.38, 287.46°) |
| OKLab | oklab(60.32% -0.029 -0.1904) |
| OKLCH | oklch(60.32% 0.193 261.3) |
| XYZ | xyz(24.6681, 21.1969, 86.7785) |
| Luminance | 0.2120 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 1.27
Lightish Blue
#3D7AFD
ΔE00 1.61
Deep Sky Blue
#0D75F8
ΔE00 2.24
Dodger Blue
#3E82FC
ΔE00 2.91
Azure
#007FFF
ΔE00 3.15
Cerulean Blue
#056EEE
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397AF2 #F2B139
analogous
#39D6F2 #397AF2 #5439F2
triadic
#397AF2 #F2397A #7AF239
tetradic
#397AF2 #F239D6 #F2B139 #39F254
square
#397AF2 #F239D6 #F2B139 #39F254
split-complementary
#397AF2 #F25439 #D6F239
monochromatic
#0B41A6 #0F58DF #397AF2 #72A1F6 #ACC7FA
Accessibility & contrast
On white
4.01
#397AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#397AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #397AF2
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##397AF2 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3088F6
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#0097AA
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #397af2; /* rgb */ color: rgb(57, 122, 242); /* oklch */ color: oklch(60.3% 0.193 261.3);
Tailwind
colors: {
custom: {
50: '#899ff7',
500: '#397af2',
950: '#000000',
},
}SCSS
$custom: #397af2; $custom-light: #899ff7; $custom-dark: #000000;
JSON
{
"hex": "#397af2",
"rgb": {
"r": 57,
"g": 122,
"b": 242
},
"hsl": {
"h": 218.919,
"s": 87.678,
"l": 58.627
},
"oklch": {
"l": 0.6032,
"c": 0.19261,
"h": 261.3
},
"luminance": 0.212
}Semantic roles & 50–950 ramp
primary
#397AF2
secondary
#E8CE9F
accent
#B32AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0E17
muted
#7E7E85