#314BBA#314BBA
#314BBA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.177 H 268.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #314BBA |
|---|---|
| RGB | rgb(49, 75, 186) |
| HSL | hsl(229, 58%, 46%) |
| HSV | hsv(229, 74%, 73%) |
| CMYK | cmyk(73.7%, 59.7%, 0%, 27.1%) |
| CIE-LAB | lab(36.42, 29.28, -61.37) |
| CIE-LCH | lch(36.42, 67.99, 295.51°) |
| OKLab | oklab(46.31% -0.0049 -0.1771) |
| OKLCH | oklch(46.31% 0.177 268.4) |
| XYZ | xyz(12.6426, 9.2290, 47.5599) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.20
Sapphire
#0F52BA
ΔE00 4.23
Cobalt
#0047AB
ΔE00 4.31
Blue (survey)
#0343DF
ΔE00 5.02
Ocean Blue
#4F42B5
ΔE00 5.59
Sapphire (survey)
#2138AB
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BBA #BAA031
analogous
#318FBA #314BBA #5B31BA
triadic
#314BBA #BA314B #4BBA31
tetradic
#314BBA #BA318F #BAA031 #31BA5B
square
#314BBA #BA318F #BAA031 #31BA5B
split-complementary
#314BBA #BA5B31 #8FBA31
monochromatic
#172459 #24378A #314BBA #566DD2 #8697DF
Accessibility & contrast
On white
7.38
#314BBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#314BBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BBA
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BBA | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #314bba; /* rgb */ color: rgb(49, 75, 186); /* oklch */ color: oklch(46.3% 0.177 268.4);
Tailwind
colors: {
custom: {
50: '#7c7dd0',
500: '#314bba',
950: '#000000',
},
}SCSS
$custom: #314bba; $custom-light: #7c7dd0; $custom-dark: #000000;
JSON
{
"hex": "#314bba",
"rgb": {
"r": 49,
"g": 75,
"b": 186
},
"hsl": {
"h": 228.613,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.46312,
"c": 0.17722,
"h": 268.4
},
"luminance": 0.0923
}Semantic roles & 50–950 ramp
primary
#314BBA
secondary
#C9BB7E
accent
#C446E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82