#314FB5#314FB5
#314FB5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.166 H 267.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #314FB5 |
|---|---|
| RGB | rgb(49, 79, 181) |
| HSL | hsl(226, 57%, 45%) |
| HSV | hsv(226, 73%, 71%) |
| CMYK | cmyk(72.9%, 56.4%, 0%, 29%) |
| CIE-LAB | lab(37.08, 24.81, -57.35) |
| CIE-LCH | lch(37.08, 62.49, 293.39°) |
| OKLab | oklab(46.68% -0.008 -0.1653) |
| OKLCH | oklch(46.68% 0.166 267.2) |
| XYZ | xyz(12.4002, 9.5798, 44.9027) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.08
Cobalt
#0047AB
ΔE00 4.00
Blue Blue
#2242C7
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 6.17
Blue (survey)
#0343DF
ΔE00 6.28
Denim Blue
#3B5B92
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FB5 #B59731
analogous
#3191B5 #314FB5 #5531B5
triadic
#314FB5 #B5314F #4FB531
tetradic
#314FB5 #B53191 #B59731 #31B555
square
#314FB5 #B53191 #B59731 #31B555
split-complementary
#314FB5 #B55531 #91B531
monochromatic
#172555 #243A85 #314FB5 #536FD0 #8398DD
Accessibility & contrast
On white
7.20
#314FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#314FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FB5
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FB5 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #314fb5; /* rgb */ color: rgb(49, 79, 181); /* oklch */ color: oklch(46.7% 0.166 267.2);
Tailwind
colors: {
custom: {
50: '#7b7fcc',
500: '#314fb5',
950: '#000000',
},
}SCSS
$custom: #314fb5; $custom-light: #7b7fcc; $custom-dark: #000000;
JSON
{
"hex": "#314fb5",
"rgb": {
"r": 49,
"g": 79,
"b": 181
},
"hsl": {
"h": 226.364,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.4668,
"c": 0.16551,
"h": 267.2
},
"luminance": 0.09581
}Semantic roles & 50–950 ramp
primary
#314FB5
secondary
#C7B67B
accent
#BE47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82