#314DB2#314DB2
#314DB2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.164 H 267.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #314DB2 |
|---|---|
| RGB | rgb(49, 77, 178) |
| HSL | hsl(227, 57%, 45%) |
| HSV | hsv(227, 72%, 70%) |
| CMYK | cmyk(72.5%, 56.7%, 0%, 30.2%) |
| CIE-LAB | lab(36.32, 25.01, -56.82) |
| CIE-LCH | lch(36.32, 62.08, 293.75°) |
| OKLab | oklab(46.04% -0.0066 -0.1638) |
| OKLCH | oklch(46.04% 0.164 267.7) |
| XYZ | xyz(11.9536, 9.1738, 43.2516) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.52
Cobalt
#0047AB
ΔE00 3.66
Blue Blue
#2242C7
ΔE00 4.47
Cobalt (survey)
#1E488F
ΔE00 5.82
Blue (survey)
#0343DF
ΔE00 6.31
Sapphire (survey)
#2138AB
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314DB2 #B29631
analogous
#318DB2 #314DB2 #5631B2
triadic
#314DB2 #B2314D #4DB231
tetradic
#314DB2 #B2318D #B29631 #31B256
square
#314DB2 #B2318D #B29631 #31B256
split-complementary
#314DB2 #B25631 #8DB231
monochromatic
#172352 #243882 #314DB2 #516CCF #8195DC
Accessibility & contrast
On white
7.41
#314DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#314DB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314DB2
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314DB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314DB2 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #314db2; /* rgb */ color: rgb(49, 77, 178); /* oklch */ color: oklch(46.0% 0.164 267.7);
Tailwind
colors: {
custom: {
50: '#7b7eca',
500: '#314db2',
950: '#000000',
},
}SCSS
$custom: #314db2; $custom-light: #7b7eca; $custom-dark: #000000;
JSON
{
"hex": "#314db2",
"rgb": {
"r": 49,
"g": 77,
"b": 178
},
"hsl": {
"h": 226.977,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.46037,
"c": 0.16389,
"h": 267.7
},
"luminance": 0.09175
}Semantic roles & 50–950 ramp
primary
#314DB2
secondary
#C5B579
accent
#BF48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82