#314A8B#314A8B
#314A8B is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.112 H 266.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #314A8B |
|---|---|
| RGB | rgb(49, 74, 139) |
| HSL | hsl(223, 48%, 37%) |
| HSV | hsv(223, 65%, 55%) |
| CMYK | cmyk(64.7%, 46.8%, 0%, 45.5%) |
| CIE-LAB | lab(32.73, 12.44, -39.12) |
| CIE-LCH | lch(32.73, 41.05, 287.64°) |
| OKLab | oklab(42.44% -0.0079 -0.1117) |
| OKLCH | oklch(42.44% 0.112 266) |
| XYZ | xyz(8.3740, 7.4139, 25.4108) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.51
Dusk Blue
#26538D
ΔE00 4.55
Darkish Blue
#014182
ΔE00 5.05
Cobalt
#0047AB
ΔE00 5.16
Twilight Blue
#0A437A
ΔE00 5.45
Denim Blue
#3B5B92
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314A8B #8B7231
analogous
#31778B #314A8B #45318B
triadic
#314A8B #8B314A #4A8B31
tetradic
#314A8B #8B3177 #8B7231 #318B45
square
#314A8B #8B3177 #8B7231 #318B45
split-complementary
#314A8B #8B4531 #778B31
monochromatic
#111A31 #21325E #314A8B #4162B8 #6B86CB
Accessibility & contrast
On white
8.46
#314A8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#314A8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314A8B
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314A8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314A8B | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#1C498A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #314a8b; /* rgb */ color: rgb(49, 74, 139); /* oklch */ color: oklch(42.4% 0.112 266.0);
Tailwind
colors: {
custom: {
50: '#737cad',
500: '#314a8b',
950: '#000000',
},
}SCSS
$custom: #314a8b; $custom-light: #737cad; $custom-dark: #000000;
JSON
{
"hex": "#314a8b",
"rgb": {
"r": 49,
"g": 74,
"b": 139
},
"hsl": {
"h": 223.333,
"s": 47.872,
"l": 36.863
},
"oklch": {
"l": 0.42444,
"c": 0.11201,
"h": 266
},
"luminance": 0.07415
}Semantic roles & 50–950 ramp
primary
#314A8B
secondary
#B29D65
accent
#B250D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F