#314C9F#314C9F
#314C9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.139 H 267.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #314C9F |
|---|---|
| RGB | rgb(49, 76, 159) |
| HSL | hsl(225, 53%, 41%) |
| HSV | hsv(225, 69%, 62%) |
| CMYK | cmyk(69.2%, 52.2%, 0%, 37.6%) |
| CIE-LAB | lab(34.65, 18.57, -48.19) |
| CIE-LCH | lch(34.65, 51.64, 291.07°) |
| OKLab | oklab(44.34% -0.0072 -0.1384) |
| OKLCH | oklch(44.34% 0.139 267) |
| XYZ | xyz(10.1069, 8.3241, 33.8682) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.42
Cobalt (survey)
#1E488F
ΔE00 3.53
Sapphire
#0F52BA
ΔE00 4.57
Dusk Blue
#26538D
ΔE00 5.06
Denim Blue
#3B5B92
ΔE00 5.56
Blueberry
#464196
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314C9F #9F8431
analogous
#31839F #314C9F #4D319F
triadic
#314C9F #9F314C #4C9F31
tetradic
#314C9F #9F3183 #9F8431 #319F4D
square
#314C9F #9F3183 #9F8431 #319F4D
split-complementary
#314C9F #9F4D31 #839F31
monochromatic
#141F41 #233670 #314C9F #4766C6 #768DD5
Accessibility & contrast
On white
7.88
#314C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#314C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314C9F
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314C9F | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1957A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #314c9f; /* rgb */ color: rgb(49, 76, 159); /* oklch */ color: oklch(44.3% 0.139 267.0);
Tailwind
colors: {
custom: {
50: '#767dbc',
500: '#314c9f',
950: '#000000',
},
}SCSS
$custom: #314c9f; $custom-light: #767dbc; $custom-dark: #000000;
JSON
{
"hex": "#314c9f",
"rgb": {
"r": 49,
"g": 76,
"b": 159
},
"hsl": {
"h": 225.273,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.44337,
"c": 0.13857,
"h": 267
},
"luminance": 0.08325
}Semantic roles & 50–950 ramp
primary
#314C9F
secondary
#BDAA6F
accent
#B94CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81