#314A9F#314A9F
#314A9F is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.141 H 267.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #314A9F |
|---|---|
| RGB | rgb(49, 74, 159) |
| HSL | hsl(226, 53%, 41%) |
| HSV | hsv(226, 69%, 62%) |
| CMYK | cmyk(69.2%, 53.5%, 0%, 37.6%) |
| CIE-LAB | lab(34.09, 19.90, -49.08) |
| CIE-LCH | lch(34.09, 52.96, 292.07°) |
| OKLab | oklab(43.92% -0.0053 -0.141) |
| OKLCH | oklch(43.92% 0.141 267.8) |
| XYZ | xyz(9.9713, 8.0528, 33.8230) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.38
Cobalt (survey)
#1E488F
ΔE00 3.68
Sapphire
#0F52BA
ΔE00 5.00
Blueberry
#464196
ΔE00 5.64
Dusk Blue
#26538D
ΔE00 5.64
Sapphire (survey)
#2138AB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314A9F #9F8631
analogous
#31819F #314A9F #4F319F
triadic
#314A9F #9F314A #4A9F31
tetradic
#314A9F #9F3181 #9F8631 #319F4F
square
#314A9F #9F3181 #9F8631 #319F4F
split-complementary
#314A9F #9F4F31 #819F31
monochromatic
#141E41 #233470 #314A9F #4764C6 #768BD5
Accessibility & contrast
On white
8.04
#314A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#314A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314A9F
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314A9F | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1155A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #314a9f; /* rgb */ color: rgb(49, 74, 159); /* oklch */ color: oklch(43.9% 0.141 267.8);
Tailwind
colors: {
custom: {
50: '#777cbc',
500: '#314a9f',
950: '#000000',
},
}SCSS
$custom: #314a9f; $custom-light: #777cbc; $custom-dark: #000000;
JSON
{
"hex": "#314a9f",
"rgb": {
"r": 49,
"g": 74,
"b": 159
},
"hsl": {
"h": 226.364,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.43916,
"c": 0.14115,
"h": 267.8
},
"luminance": 0.08054
}Semantic roles & 50–950 ramp
primary
#314A9F
secondary
#BDAB6F
accent
#BB4CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81