#314BBE#314BBE
#314BBE is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.183 H 268.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #314BBE |
|---|---|
| RGB | rgb(49, 75, 190) |
| HSL | hsl(229, 59%, 47%) |
| HSV | hsv(229, 74%, 75%) |
| CMYK | cmyk(74.2%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(36.75, 30.75, -63.18) |
| CIE-LCH | lch(36.75, 70.27, 295.95°) |
| OKLab | oklab(46.65% -0.0049 -0.1825) |
| OKLCH | oklch(46.65% 0.183 268.5) |
| XYZ | xyz(13.0738, 9.4014, 49.8309) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.92
Sapphire
#0F52BA
ΔE00 4.41
Blue (survey)
#0343DF
ΔE00 4.54
Cobalt
#0047AB
ΔE00 4.70
Ocean Blue
#4F42B5
ΔE00 5.50
Sapphire (survey)
#2138AB
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BBE #BEA431
analogous
#3192BE #314BBE #5E31BE
triadic
#314BBE #BE314B #4BBE31
tetradic
#314BBE #BE3192 #BEA431 #31BE5E
square
#314BBE #BE3192 #BEA431 #31BE5E
split-complementary
#314BBE #BE5E31 #92BE31
monochromatic
#18255D #24388D #314BBE #586FD4 #8999E1
Accessibility & contrast
On white
7.29
#314BBE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#314BBE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BBE
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BBE | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #314bbe; /* rgb */ color: rgb(49, 75, 190); /* oklch */ color: oklch(46.7% 0.183 268.5);
Tailwind
colors: {
custom: {
50: '#7d7dd3',
500: '#314bbe',
950: '#000000',
},
}SCSS
$custom: #314bbe; $custom-light: #7d7dd3; $custom-dark: #000000;
JSON
{
"hex": "#314bbe",
"rgb": {
"r": 49,
"g": 75,
"b": 190
},
"hsl": {
"h": 228.936,
"s": 58.996,
"l": 46.863
},
"oklch": {
"l": 0.46654,
"c": 0.18256,
"h": 268.5
},
"luminance": 0.09403
}Semantic roles & 50–950 ramp
primary
#314BBE
secondary
#CABD80
accent
#C546E2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83