#314CA7#314CA7
#314CA7 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.150 H 267.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #314CA7 |
|---|---|
| RGB | rgb(49, 76, 167) |
| HSL | hsl(226, 55%, 42%) |
| HSV | hsv(226, 71%, 65%) |
| CMYK | cmyk(70.7%, 54.5%, 0%, 34.5%) |
| CIE-LAB | lab(35.22, 21.56, -52.05) |
| CIE-LCH | lch(35.22, 56.34, 292.50°) |
| OKLab | oklab(44.96% -0.0065 -0.1498) |
| OKLCH | oklch(44.96% 0.15 267.5) |
| XYZ | xyz(10.8237, 8.6108, 37.6434) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.23
Sapphire
#0F52BA
ΔE00 4.04
Cobalt (survey)
#1E488F
ΔE00 4.47
Blue Blue
#2242C7
ΔE00 5.51
Dusk Blue
#26538D
ΔE00 5.80
Denim Blue
#3B5B92
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CA7 #A78C31
analogous
#3187A7 #314CA7 #5131A7
triadic
#314CA7 #A7314C #4CA731
tetradic
#314CA7 #A73187 #A78C31 #31A751
square
#314CA7 #A73187 #A78C31 #31A751
split-complementary
#314CA7 #A75131 #87A731
monochromatic
#152148 #233678 #314CA7 #4B68CA #7A90D8
Accessibility & contrast
On white
7.71
#314CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#314CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CA7
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CA7 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0558AA
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #314ca7; /* rgb */ color: rgb(49, 76, 167); /* oklch */ color: oklch(45.0% 0.150 267.5);
Tailwind
colors: {
custom: {
50: '#787dc2',
500: '#314ca7',
950: '#000000',
},
}SCSS
$custom: #314ca7; $custom-light: #787dc2; $custom-dark: #000000;
JSON
{
"hex": "#314ca7",
"rgb": {
"r": 49,
"g": 76,
"b": 167
},
"hsl": {
"h": 226.271,
"s": 54.63,
"l": 42.353
},
"oklch": {
"l": 0.44955,
"c": 0.1499,
"h": 267.5
},
"luminance": 0.08612
}Semantic roles & 50–950 ramp
primary
#314CA7
secondary
#C1AF73
accent
#BC4ADE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81