#314CA8#314CA8
#314CA8 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.151 H 267.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #314CA8 |
|---|---|
| RGB | rgb(49, 76, 168) |
| HSL | hsl(226, 55%, 43%) |
| HSV | hsv(226, 71%, 66%) |
| CMYK | cmyk(70.8%, 54.8%, 0%, 34.1%) |
| CIE-LAB | lab(35.30, 21.93, -52.53) |
| CIE-LCH | lch(35.30, 56.93, 292.66°) |
| OKLab | oklab(45.03% -0.0064 -0.1512) |
| OKLCH | oklch(45.03% 0.151 267.6) |
| XYZ | xyz(10.9165, 8.6479, 38.1321) |
| Luminance | 0.0865 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.23
Sapphire
#0F52BA
ΔE00 4.00
Cobalt (survey)
#1E488F
ΔE00 4.59
Blue Blue
#2242C7
ΔE00 5.38
Dusk Blue
#26538D
ΔE00 5.90
Denim Blue
#3B5B92
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CA8 #A88D31
analogous
#3187A8 #314CA8 #5231A8
triadic
#314CA8 #A8314C #4CA831
tetradic
#314CA8 #A83187 #A88D31 #31A852
square
#314CA8 #A83187 #A88D31 #31A852
split-complementary
#314CA8 #A85231 #87A831
monochromatic
#152149 #233779 #314CA8 #4C68CB #7B90D8
Accessibility & contrast
On white
7.69
#314CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#314CA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CA8
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CA8 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0259AB
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #314ca8; /* rgb */ color: rgb(49, 76, 168); /* oklch */ color: oklch(45.0% 0.151 267.6);
Tailwind
colors: {
custom: {
50: '#787dc3',
500: '#314ca8',
950: '#000000',
},
}SCSS
$custom: #314ca8; $custom-light: #787dc3; $custom-dark: #000000;
JSON
{
"hex": "#314ca8",
"rgb": {
"r": 49,
"g": 76,
"b": 168
},
"hsl": {
"h": 226.387,
"s": 54.839,
"l": 42.549
},
"oklch": {
"l": 0.45034,
"c": 0.1513,
"h": 267.6
},
"luminance": 0.08649
}Semantic roles & 50–950 ramp
primary
#314CA8
secondary
#C1AF74
accent
#BC4ADE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81