#314CA6#314CA6
#314CA6 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.148 H 267.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #314CA6 |
|---|---|
| RGB | rgb(49, 76, 166) |
| HSL | hsl(226, 54%, 42%) |
| HSV | hsv(226, 70%, 65%) |
| CMYK | cmyk(70.5%, 54.2%, 0%, 34.9%) |
| CIE-LAB | lab(35.15, 21.19, -51.57) |
| CIE-LCH | lch(35.15, 55.76, 292.33°) |
| OKLab | oklab(44.88% -0.0065 -0.1483) |
| OKLCH | oklch(44.88% 0.148 267.5) |
| XYZ | xyz(10.7316, 8.5739, 37.1584) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.23
Sapphire
#0F52BA
ΔE00 4.10
Cobalt (survey)
#1E488F
ΔE00 4.34
Blue Blue
#2242C7
ΔE00 5.64
Dusk Blue
#26538D
ΔE00 5.71
Denim Blue
#3B5B92
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CA6 #A68B31
analogous
#3187A6 #314CA6 #5131A6
triadic
#314CA6 #A6314C #4CA631
tetradic
#314CA6 #A63187 #A68B31 #31A651
square
#314CA6 #A63187 #A68B31 #31A651
split-complementary
#314CA6 #A65131 #87A631
monochromatic
#152147 #233677 #314CA6 #4A68CA #7A8FD8
Accessibility & contrast
On white
7.73
#314CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#314CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CA6
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CA6 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0958A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #314ca6; /* rgb */ color: rgb(49, 76, 166); /* oklch */ color: oklch(44.9% 0.148 267.5);
Tailwind
colors: {
custom: {
50: '#787dc1',
500: '#314ca6',
950: '#000000',
},
}SCSS
$custom: #314ca6; $custom-light: #787dc1; $custom-dark: #000000;
JSON
{
"hex": "#314ca6",
"rgb": {
"r": 49,
"g": 76,
"b": 166
},
"hsl": {
"h": 226.154,
"s": 54.419,
"l": 42.157
},
"oklch": {
"l": 0.44877,
"c": 0.14849,
"h": 267.5
},
"luminance": 0.08575
}Semantic roles & 50–950 ramp
primary
#314CA6
secondary
#C0AE73
accent
#BC4ADE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81