#314BB6#314BB6
#314BB6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.172 H 268.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #314BB6 |
|---|---|
| RGB | rgb(49, 75, 182) |
| HSL | hsl(228, 58%, 45%) |
| HSV | hsv(228, 73%, 71%) |
| CMYK | cmyk(73.1%, 58.8%, 0%, 28.6%) |
| CIE-LAB | lab(36.10, 27.80, -59.53) |
| CIE-LCH | lch(36.10, 65.70, 295.03°) |
| OKLab | oklab(45.97% -0.005 -0.1718) |
| OKLCH | oklch(45.97% 0.172 268.3) |
| XYZ | xyz(12.2233, 9.0612, 45.3517) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.56
Cobalt
#0047AB
ΔE00 3.95
Sapphire
#0F52BA
ΔE00 4.10
Blue (survey)
#0343DF
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 5.74
Sapphire (survey)
#2138AB
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BB6 #B69C31
analogous
#318DB6 #314BB6 #5A31B6
triadic
#314BB6 #B6314B #4BB631
tetradic
#314BB6 #B6318D #B69C31 #31B65A
square
#314BB6 #B6318D #B69C31 #31B65A
split-complementary
#314BB6 #B65A31 #8DB631
monochromatic
#172356 #243786 #314BB6 #536CD1 #8495DE
Accessibility & contrast
On white
7.47
#314BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#314BB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BB6
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BB6 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #314bb6; /* rgb */ color: rgb(49, 75, 182); /* oklch */ color: oklch(46.0% 0.172 268.3);
Tailwind
colors: {
custom: {
50: '#7c7dcd',
500: '#314bb6',
950: '#000000',
},
}SCSS
$custom: #314bb6; $custom-light: #7c7dcd; $custom-dark: #000000;
JSON
{
"hex": "#314bb6",
"rgb": {
"r": 49,
"g": 75,
"b": 182
},
"hsl": {
"h": 228.271,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.45974,
"c": 0.17183,
"h": 268.3
},
"luminance": 0.09063
}Semantic roles & 50–950 ramp
primary
#314BB6
secondary
#C7B87C
accent
#C347E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82