#397CF2#397CF2
#397CF2 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.7% C 0.190 H 260.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #397CF2 |
|---|---|
| RGB | rgb(57, 124, 242) |
| HSL | hsl(218, 88%, 59%) |
| HSV | hsv(218, 76%, 95%) |
| CMYK | cmyk(76.4%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(53.70, 19.57, -65.32) |
| CIE-LCH | lch(53.70, 68.19, 286.68°) |
| OKLab | oklab(60.73% -0.0305 -0.1878) |
| OKLCH | oklch(60.73% 0.19 260.8) |
| XYZ | xyz(24.9162, 21.6931, 86.8612) |
| Luminance | 0.2170 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 1.26
Lightish Blue
#3D7AFD
ΔE00 1.88
Dodger Blue
#3E82FC
ΔE00 2.32
Azure
#007FFF
ΔE00 2.60
Deep Sky Blue
#0D75F8
ΔE00 2.65
Cerulean Blue
#056EEE
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397CF2 #F2AF39
analogous
#39D9F2 #397CF2 #5239F2
triadic
#397CF2 #F2397C #7CF239
tetradic
#397CF2 #F239D9 #F2AF39 #39F252
square
#397CF2 #F239D9 #F2AF39 #39F252
split-complementary
#397CF2 #F25239 #D9F239
monochromatic
#0B43A6 #0F5ADF #397CF2 #72A2F6 #ACC8FA
Accessibility & contrast
On white
3.93
#397CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#397CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #397CF2
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##397CF2 | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3689F6
Deuteranopia (green-blind)
#0078F0
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #397cf2; /* rgb */ color: rgb(57, 124, 242); /* oklch */ color: oklch(60.7% 0.190 260.8);
Tailwind
colors: {
custom: {
50: '#89a1f7',
500: '#397cf2',
950: '#000000',
},
}SCSS
$custom: #397cf2; $custom-light: #89a1f7; $custom-dark: #000000;
JSON
{
"hex": "#397cf2",
"rgb": {
"r": 57,
"g": 124,
"b": 242
},
"hsl": {
"h": 218.27,
"s": 87.678,
"l": 58.627
},
"oklch": {
"l": 0.60729,
"c": 0.19029,
"h": 260.8
},
"luminance": 0.21696
}Semantic roles & 50–950 ramp
primary
#397CF2
secondary
#E8CD9F
accent
#B12AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0E17
muted
#7E7E85