#314CAF#314CAF
#314CAF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.161 H 267.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #314CAF |
|---|---|
| RGB | rgb(49, 76, 175) |
| HSL | hsl(227, 56%, 44%) |
| HSV | hsv(227, 72%, 69%) |
| CMYK | cmyk(72%, 56.6%, 0%, 31.4%) |
| CIE-LAB | lab(35.82, 24.55, -55.85) |
| CIE-LCH | lch(35.82, 61.00, 293.73°) |
| OKLab | oklab(45.59% -0.006 -0.1609) |
| OKLCH | oklch(45.59% 0.161 267.9) |
| XYZ | xyz(11.5862, 8.9158, 41.6594) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.46
Sapphire
#0F52BA
ΔE00 3.79
Blue Blue
#2242C7
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 5.47
Sapphire (survey)
#2138AB
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CAF #AF9431
analogous
#318BAF #314CAF #5531AF
triadic
#314CAF #AF314C #4CAF31
tetradic
#314CAF #AF318B #AF9431 #31AF55
square
#314CAF #AF318B #AF9431 #31AF55
split-complementary
#314CAF #AF5531 #8BAF31
monochromatic
#16224F #24377F #314CAF #4F6ACE #7F93DB
Accessibility & contrast
On white
7.54
#314CAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#314CAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CAF
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CAF | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #314caf; /* rgb */ color: rgb(49, 76, 175); /* oklch */ color: oklch(45.6% 0.161 267.9);
Tailwind
colors: {
custom: {
50: '#7a7dc8',
500: '#314caf',
950: '#000000',
},
}SCSS
$custom: #314caf; $custom-light: #7a7dc8; $custom-dark: #000000;
JSON
{
"hex": "#314caf",
"rgb": {
"r": 49,
"g": 76,
"b": 175
},
"hsl": {
"h": 227.143,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.45594,
"c": 0.16103,
"h": 267.9
},
"luminance": 0.08917
}Semantic roles & 50–950 ramp
primary
#314CAF
secondary
#C4B478
accent
#BF48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82