#314FB6#314FB6
#314FB6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.167 H 267.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #314FB6 |
|---|---|
| RGB | rgb(49, 79, 182) |
| HSL | hsl(226, 58%, 45%) |
| HSV | hsv(226, 73%, 71%) |
| CMYK | cmyk(73.1%, 56.6%, 0%, 28.6%) |
| CIE-LAB | lab(37.15, 25.18, -57.82) |
| CIE-LCH | lch(37.15, 63.07, 293.53°) |
| OKLab | oklab(46.76% -0.008 -0.1667) |
| OKLCH | oklch(46.76% 0.167 267.3) |
| XYZ | xyz(12.5032, 9.6210, 45.4450) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.10
Cobalt
#0047AB
ΔE00 4.07
Blue Blue
#2242C7
ΔE00 4.66
Blue (survey)
#0343DF
ΔE00 6.16
Cobalt (survey)
#1E488F
ΔE00 6.30
Denim Blue
#3B5B92
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FB6 #B69831
analogous
#3192B6 #314FB6 #5531B6
triadic
#314FB6 #B6314F #4FB631
tetradic
#314FB6 #B63192 #B69831 #31B655
square
#314FB6 #B63192 #B69831 #31B655
split-complementary
#314FB6 #B65531 #92B631
monochromatic
#172556 #243A86 #314FB6 #5370D1 #8498DE
Accessibility & contrast
On white
7.18
#314FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#314FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FB6
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FB6 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #314fb6; /* rgb */ color: rgb(49, 79, 182); /* oklch */ color: oklch(46.8% 0.167 267.3);
Tailwind
colors: {
custom: {
50: '#7b7fcd',
500: '#314fb6',
950: '#000000',
},
}SCSS
$custom: #314fb6; $custom-light: #7b7fcd; $custom-dark: #000000;
JSON
{
"hex": "#314fb6",
"rgb": {
"r": 49,
"g": 79,
"b": 182
},
"hsl": {
"h": 226.466,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.46761,
"c": 0.16687,
"h": 267.3
},
"luminance": 0.09622
}Semantic roles & 50–950 ramp
primary
#314FB6
secondary
#C7B67C
accent
#BE47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82