#314BB4#314BB4
#314BB4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.169 H 268.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #314BB4 |
|---|---|
| RGB | rgb(49, 75, 180) |
| HSL | hsl(228, 57%, 45%) |
| HSV | hsv(228, 73%, 71%) |
| CMYK | cmyk(72.8%, 58.3%, 0%, 29.4%) |
| CIE-LAB | lab(35.94, 27.06, -58.61) |
| CIE-LCH | lch(35.94, 64.55, 294.78°) |
| OKLab | oklab(45.81% -0.005 -0.169) |
| OKLCH | oklch(45.81% 0.169 268.3) |
| XYZ | xyz(12.0181, 8.9792, 44.2709) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.76
Cobalt
#0047AB
ΔE00 3.79
Sapphire
#0F52BA
ΔE00 4.07
Sapphire (survey)
#2138AB
ΔE00 5.74
Blue (survey)
#0343DF
ΔE00 5.77
Ocean Blue
#4F42B5
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BB4 #B49A31
analogous
#318CB4 #314BB4 #5931B4
triadic
#314BB4 #B4314B #4BB431
tetradic
#314BB4 #B4318C #B49A31 #31B459
square
#314BB4 #B4318C #B49A31 #31B459
split-complementary
#314BB4 #B45931 #8CB431
monochromatic
#172354 #243784 #314BB4 #526BD0 #8294DD
Accessibility & contrast
On white
7.51
#314BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#314BB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BB4
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BB4 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #314bb4; /* rgb */ color: rgb(49, 75, 180); /* oklch */ color: oklch(45.8% 0.169 268.3);
Tailwind
colors: {
custom: {
50: '#7b7dcb',
500: '#314bb4',
950: '#000000',
},
}SCSS
$custom: #314bb4; $custom-light: #7b7dcb; $custom-dark: #000000;
JSON
{
"hex": "#314bb4",
"rgb": {
"r": 49,
"g": 75,
"b": 180
},
"hsl": {
"h": 228.092,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.45807,
"c": 0.16912,
"h": 268.3
},
"luminance": 0.0898
}Semantic roles & 50–950 ramp
primary
#314BB4
secondary
#C6B77B
accent
#C247E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82