#314EB2#314EB2
#314EB2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.163 H 267.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #314EB2 |
|---|---|
| RGB | rgb(49, 78, 178) |
| HSL | hsl(227, 57%, 45%) |
| HSV | hsv(227, 72%, 70%) |
| CMYK | cmyk(72.5%, 56.2%, 0%, 30.2%) |
| CIE-LAB | lab(36.58, 24.35, -56.39) |
| CIE-LCH | lch(36.58, 61.42, 293.36°) |
| OKLab | oklab(46.24% -0.0074 -0.1625) |
| OKLCH | oklch(46.24% 0.163 267.4) |
| XYZ | xyz(12.0241, 9.3148, 43.2751) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.28
Cobalt
#0047AB
ΔE00 3.72
Blue Blue
#2242C7
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 5.79
Denim Blue
#3B5B92
ΔE00 6.40
Blue (survey)
#0343DF
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314EB2 #B29531
analogous
#318EB2 #314EB2 #5531B2
triadic
#314EB2 #B2314E #4EB231
tetradic
#314EB2 #B2318E #B29531 #31B255
square
#314EB2 #B2318E #B29531 #31B255
split-complementary
#314EB2 #B25531 #8EB231
monochromatic
#172452 #243982 #314EB2 #516DCF #8196DC
Accessibility & contrast
On white
7.33
#314EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#314EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314EB2
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314EB2 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #314eb2; /* rgb */ color: rgb(49, 78, 178); /* oklch */ color: oklch(46.2% 0.163 267.4);
Tailwind
colors: {
custom: {
50: '#7a7fca',
500: '#314eb2',
950: '#000000',
},
}SCSS
$custom: #314eb2; $custom-light: #7a7fca; $custom-dark: #000000;
JSON
{
"hex": "#314eb2",
"rgb": {
"r": 49,
"g": 78,
"b": 178
},
"hsl": {
"h": 226.512,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.46237,
"c": 0.16264,
"h": 267.4
},
"luminance": 0.09316
}Semantic roles & 50–950 ramp
primary
#314EB2
secondary
#C5B479
accent
#BE48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82