#314FA5#314FA5
#314FA5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.143 H 266.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #314FA5 |
|---|---|
| RGB | rgb(49, 79, 165) |
| HSL | hsl(224, 54%, 42%) |
| HSV | hsv(224, 70%, 65%) |
| CMYK | cmyk(70.3%, 52.1%, 0%, 35.3%) |
| CIE-LAB | lab(35.91, 18.82, -49.75) |
| CIE-LCH | lch(35.91, 53.19, 290.72°) |
| OKLab | oklab(45.43% -0.0093 -0.1429) |
| OKLCH | oklch(45.43% 0.143 266.3) |
| XYZ | xyz(10.8518, 8.9605, 36.7477) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.53
Sapphire
#0F52BA
ΔE00 3.56
Cobalt (survey)
#1E488F
ΔE00 4.22
Dusk Blue
#26538D
ΔE00 4.88
Denim Blue
#3B5B92
ΔE00 5.01
Dusky Blue
#475F94
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FA5 #A58731
analogous
#3189A5 #314FA5 #4D31A5
triadic
#314FA5 #A5314F #4FA531
tetradic
#314FA5 #A53189 #A58731 #31A54D
square
#314FA5 #A53189 #A58731 #31A54D
split-complementary
#314FA5 #A54D31 #89A531
monochromatic
#152247 #233876 #314FA5 #4A6BC9 #7991D7
Accessibility & contrast
On white
7.52
#314FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#314FA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FA5
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FA5 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195AA8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #314fa5; /* rgb */ color: rgb(49, 79, 165); /* oklch */ color: oklch(45.4% 0.143 266.3);
Tailwind
colors: {
custom: {
50: '#787fc0',
500: '#314fa5',
950: '#000000',
},
}SCSS
$custom: #314fa5; $custom-light: #787fc0; $custom-dark: #000000;
JSON
{
"hex": "#314fa5",
"rgb": {
"r": 49,
"g": 79,
"b": 165
},
"hsl": {
"h": 224.483,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.45427,
"c": 0.14324,
"h": 266.3
},
"luminance": 0.08962
}Semantic roles & 50–950 ramp
primary
#314FA5
secondary
#C0AC72
accent
#B74ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81