#314C7D#314C7D
#314C7D is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.088 H 261.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #314C7D |
|---|---|
| RGB | rgb(49, 76, 125) |
| HSL | hsl(219, 44%, 34%) |
| HSV | hsv(219, 61%, 49%) |
| CMYK | cmyk(60.8%, 39.2%, 0%, 51%) |
| CIE-LAB | lab(32.48, 5.96, -30.87) |
| CIE-LCH | lch(32.48, 31.44, 280.94°) |
| OKLab | oklab(41.98% -0.0131 -0.0875) |
| OKLCH | oklch(41.98% 0.088 261.5) |
| XYZ | xyz(7.5515, 7.3019, 20.4095) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.49
Dusk Blue
#26538D
ΔE00 3.96
Twilight Blue
#0A437A
ΔE00 4.71
Light Navy
#155084
ΔE00 4.98
Darkish Blue
#014182
ΔE00 5.00
Denim Blue
#3B5B92
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314C7D #7D6231
analogous
#31727D #314C7D #3C317D
triadic
#314C7D #7D314C #4C7D31
tetradic
#314C7D #7D3172 #7D6231 #317D3C
square
#314C7D #7D3172 #7D6231 #317D3C
split-complementary
#314C7D #7D3C31 #727D31
monochromatic
#0F1725 #203151 #314C7D #4267A9 #6687C3
Accessibility & contrast
On white
8.53
#314C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#314C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314C7D
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314C7D | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #314c7d; /* rgb */ color: rgb(49, 76, 125); /* oklch */ color: oklch(42.0% 0.088 261.5);
Tailwind
colors: {
custom: {
50: '#707da3',
500: '#314c7d',
950: '#000000',
},
}SCSS
$custom: #314c7d; $custom-light: #707da3; $custom-dark: #000000;
JSON
{
"hex": "#314c7d",
"rgb": {
"r": 49,
"g": 76,
"b": 125
},
"hsl": {
"h": 218.684,
"s": 43.678,
"l": 34.118
},
"oklch": {
"l": 0.4198,
"c": 0.08848,
"h": 261.5
},
"luminance": 0.07303
}Semantic roles & 50–950 ramp
primary
#314C7D
secondary
#AA9060
accent
#A654D3
background
#F7F7FA
surface
#EDEEF3
border
#C8C9CD
text
#08090F
muted
#7B7B7F