#314BB7#314BB7
#314BB7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.173 H 268.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #314BB7 |
|---|---|
| RGB | rgb(49, 75, 183) |
| HSL | hsl(228, 58%, 45%) |
| HSV | hsv(228, 73%, 72%) |
| CMYK | cmyk(73.2%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(36.18, 28.17, -59.99) |
| CIE-LCH | lch(36.18, 66.28, 295.15°) |
| OKLab | oklab(46.06% -0.0049 -0.1731) |
| OKLCH | oklch(46.06% 0.173 268.4) |
| XYZ | xyz(12.3270, 9.1027, 45.8979) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.46
Cobalt
#0047AB
ΔE00 4.03
Sapphire
#0F52BA
ΔE00 4.13
Blue (survey)
#0343DF
ΔE00 5.39
Ocean Blue
#4F42B5
ΔE00 5.69
Sapphire (survey)
#2138AB
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BB7 #B79D31
analogous
#318EB7 #314BB7 #5A31B7
triadic
#314BB7 #B7314B #4BB731
tetradic
#314BB7 #B7318E #B79D31 #31B75A
square
#314BB7 #B7318E #B79D31 #31B75A
split-complementary
#314BB7 #B75A31 #8EB731
monochromatic
#172356 #243787 #314BB7 #546CD1 #8496DE
Accessibility & contrast
On white
7.44
#314BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#314BB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BB7
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BB7 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #314bb7; /* rgb */ color: rgb(49, 75, 183); /* oklch */ color: oklch(46.1% 0.173 268.4);
Tailwind
colors: {
custom: {
50: '#7c7dcd',
500: '#314bb7',
950: '#000000',
},
}SCSS
$custom: #314bb7; $custom-light: #7c7dcd; $custom-dark: #000000;
JSON
{
"hex": "#314bb7",
"rgb": {
"r": 49,
"g": 75,
"b": 183
},
"hsl": {
"h": 228.358,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.46058,
"c": 0.17318,
"h": 268.4
},
"luminance": 0.09104
}Semantic roles & 50–950 ramp
primary
#314BB7
secondary
#C8B97C
accent
#C347E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82