#314AC8#314AC8
#314AC8 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.197 H 268.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #314AC8 |
|---|---|
| RGB | rgb(49, 74, 200) |
| HSL | hsl(230, 61%, 49%) |
| HSV | hsv(230, 76%, 78%) |
| CMYK | cmyk(75.5%, 63%, 0%, 21.6%) |
| CIE-LAB | lab(37.33, 35.03, -68.06) |
| CIE-LCH | lch(37.33, 76.55, 297.24°) |
| OKLab | oklab(47.35% -0.0044 -0.1968) |
| OKLCH | oklch(47.35% 0.197 268.7) |
| XYZ | xyz(14.1371, 9.7191, 55.7633) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.41
Blue (survey)
#0343DF
ΔE00 3.32
Sapphire
#0F52BA
ΔE00 5.30
Ocean Blue
#4F42B5
ΔE00 5.34
Warm Blue
#4B57DB
ΔE00 5.40
Cobalt
#0047AB
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AC8 #C8AF31
analogous
#3196C8 #314AC8 #6431C8
triadic
#314AC8 #C8314A #4AC831
tetradic
#314AC8 #C83196 #C8AF31 #31C864
square
#314AC8 #C83196 #C8AF31 #31C864
split-complementary
#314AC8 #C86431 #96C831
monochromatic
#192666 #253897 #314AC8 #5F73D8 #909EE4
Accessibility & contrast
On white
7.13
#314AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#314AC8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314AC8
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AC8 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #314ac8; /* rgb */ color: rgb(49, 74, 200); /* oklch */ color: oklch(47.3% 0.197 268.7);
Tailwind
colors: {
custom: {
50: '#807cda',
500: '#314ac8',
950: '#000000',
},
}SCSS
$custom: #314ac8; $custom-light: #807cda; $custom-dark: #000000;
JSON
{
"hex": "#314ac8",
"rgb": {
"r": 49,
"g": 74,
"b": 200
},
"hsl": {
"h": 230.066,
"s": 60.643,
"l": 48.824
},
"oklch": {
"l": 0.47348,
"c": 0.19684,
"h": 268.7
},
"luminance": 0.09721
}Semantic roles & 50–950 ramp
primary
#314AC8
secondary
#CEC286
accent
#C944E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83