#314DB3#314DB3
#314DB3 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.165 H 267.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #314DB3 |
|---|---|
| RGB | rgb(49, 77, 179) |
| HSL | hsl(227, 57%, 45%) |
| HSV | hsv(227, 73%, 70%) |
| CMYK | cmyk(72.6%, 57%, 0%, 29.8%) |
| CIE-LAB | lab(36.39, 25.38, -57.29) |
| CIE-LCH | lch(36.39, 62.66, 293.89°) |
| OKLab | oklab(46.12% -0.0066 -0.1651) |
| OKLCH | oklch(46.12% 0.165 267.7) |
| XYZ | xyz(12.0544, 9.2141, 43.7823) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.53
Cobalt
#0047AB
ΔE00 3.73
Blue Blue
#2242C7
ΔE00 4.37
Cobalt (survey)
#1E488F
ΔE00 5.95
Blue (survey)
#0343DF
ΔE00 6.18
Sapphire (survey)
#2138AB
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314DB3 #B39731
analogous
#318EB3 #314DB3 #5631B3
triadic
#314DB3 #B3314D #4DB331
tetradic
#314DB3 #B3318E #B39731 #31B356
square
#314DB3 #B3318E #B39731 #31B356
split-complementary
#314DB3 #B35631 #8EB331
monochromatic
#172453 #243883 #314DB3 #526DD0 #8295DD
Accessibility & contrast
On white
7.39
#314DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#314DB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314DB3
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314DB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314DB3 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #314db3; /* rgb */ color: rgb(49, 77, 179); /* oklch */ color: oklch(46.1% 0.165 267.7);
Tailwind
colors: {
custom: {
50: '#7b7eca',
500: '#314db3',
950: '#000000',
},
}SCSS
$custom: #314db3; $custom-light: #7b7eca; $custom-dark: #000000;
JSON
{
"hex": "#314db3",
"rgb": {
"r": 49,
"g": 77,
"b": 179
},
"hsl": {
"h": 227.077,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.46119,
"c": 0.16526,
"h": 267.7
},
"luminance": 0.09215
}Semantic roles & 50–950 ramp
primary
#314DB3
secondary
#C6B67A
accent
#BF48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82