#314C90#314C90
#314C90 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.117 H 265.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #314C90 |
|---|---|
| RGB | rgb(49, 76, 144) |
| HSL | hsl(223, 49%, 38%) |
| HSV | hsv(223, 66%, 56%) |
| CMYK | cmyk(66%, 47.2%, 0%, 43.5%) |
| CIE-LAB | lab(33.64, 12.96, -40.73) |
| CIE-LCH | lch(33.64, 42.74, 287.65°) |
| OKLab | oklab(43.24% -0.0091 -0.1164) |
| OKLCH | oklch(43.24% 0.117 265.5) |
| XYZ | xyz(8.8834, 7.8346, 27.4242) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.45
Dusk Blue
#26538D
ΔE00 4.04
Cobalt
#0047AB
ΔE00 4.66
Denim Blue
#3B5B92
ΔE00 5.02
Darkish Blue
#014182
ΔE00 5.38
Twilight Blue
#0A437A
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314C90 #907531
analogous
#317C90 #314C90 #453190
triadic
#314C90 #90314C #4C9031
tetradic
#314C90 #90317C #907531 #319045
square
#314C90 #90317C #907531 #319045
split-complementary
#314C90 #904531 #7C9031
monochromatic
#121C35 #213462 #314C90 #4164BE #6E89CE
Accessibility & contrast
On white
8.18
#314C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#314C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314C90
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314C90 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5493
Deuteranopia (green-blind)
#194B8F
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #314c90; /* rgb */ color: rgb(49, 76, 144); /* oklch */ color: oklch(43.2% 0.117 265.5);
Tailwind
colors: {
custom: {
50: '#737db1',
500: '#314c90',
950: '#000000',
},
}SCSS
$custom: #314c90; $custom-light: #737db1; $custom-dark: #000000;
JSON
{
"hex": "#314c90",
"rgb": {
"r": 49,
"g": 76,
"b": 144
},
"hsl": {
"h": 222.947,
"s": 49.223,
"l": 37.843
},
"oklch": {
"l": 0.43241,
"c": 0.11679,
"h": 265.5
},
"luminance": 0.07835
}Semantic roles & 50–950 ramp
primary
#314C90
secondary
#B59F68
accent
#B24FD9
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090911
muted
#7B7B80