#314EB6#314EB6
#314EB6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.168 H 267.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #314EB6 |
|---|---|
| RGB | rgb(49, 78, 182) |
| HSL | hsl(227, 58%, 45%) |
| HSV | hsv(227, 73%, 71%) |
| CMYK | cmyk(73.1%, 57.1%, 0%, 28.6%) |
| CIE-LAB | lab(36.89, 25.84, -58.25) |
| CIE-LCH | lch(36.89, 63.72, 293.92°) |
| OKLab | oklab(46.56% -0.0072 -0.168) |
| OKLCH | oklch(46.56% 0.168 267.5) |
| XYZ | xyz(12.4316, 9.4778, 45.4211) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.33
Cobalt
#0047AB
ΔE00 4.00
Blue Blue
#2242C7
ΔE00 4.37
Blue (survey)
#0343DF
ΔE00 5.98
Cobalt (survey)
#1E488F
ΔE00 6.31
Ocean Blue
#4F42B5
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314EB6 #B69931
analogous
#3191B6 #314EB6 #5631B6
triadic
#314EB6 #B6314E #4EB631
tetradic
#314EB6 #B63191 #B69931 #31B656
square
#314EB6 #B63191 #B69931 #31B656
split-complementary
#314EB6 #B65631 #91B631
monochromatic
#172556 #243986 #314EB6 #536FD1 #8497DE
Accessibility & contrast
On white
7.25
#314EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#314EB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314EB6
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314EB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314EB6 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #314eb6; /* rgb */ color: rgb(49, 78, 182); /* oklch */ color: oklch(46.6% 0.168 267.5);
Tailwind
colors: {
custom: {
50: '#7b7fcd',
500: '#314eb6',
950: '#000000',
},
}SCSS
$custom: #314eb6; $custom-light: #7b7fcd; $custom-dark: #000000;
JSON
{
"hex": "#314eb6",
"rgb": {
"r": 49,
"g": 78,
"b": 182
},
"hsl": {
"h": 226.917,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.46562,
"c": 0.16812,
"h": 267.5
},
"luminance": 0.09479
}Semantic roles & 50–950 ramp
primary
#314EB6
secondary
#C7B77C
accent
#BF47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82