#314AB7#314AB7
#314AB7 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.174 H 268.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #314AB7 |
|---|---|
| RGB | rgb(49, 74, 183) |
| HSL | hsl(229, 58%, 45%) |
| HSV | hsv(229, 73%, 72%) |
| CMYK | cmyk(73.2%, 59.6%, 0%, 28.2%) |
| CIE-LAB | lab(35.92, 28.82, -60.41) |
| CIE-LCH | lch(35.92, 66.94, 295.51°) |
| OKLab | oklab(45.87% -0.0042 -0.1744) |
| OKLCH | oklch(45.87% 0.174 268.6) |
| XYZ | xyz(12.2597, 8.9681, 45.8755) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.21
Cobalt
#0047AB
ΔE00 4.08
Sapphire
#0F52BA
ΔE00 4.40
Blue (survey)
#0343DF
ΔE00 5.27
Ocean Blue
#4F42B5
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AB7 #B79E31
analogous
#318DB7 #314AB7 #5B31B7
triadic
#314AB7 #B7314A #4AB731
tetradic
#314AB7 #B7318D #B79E31 #31B75B
square
#314AB7 #B7318D #B79E31 #31B75B
split-complementary
#314AB7 #B75B31 #8DB731
monochromatic
#172356 #243687 #314AB7 #546BD1 #8495DE
Accessibility & contrast
On white
7.52
#314AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#314AB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314AB7
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AB7 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #314ab7; /* rgb */ color: rgb(49, 74, 183); /* oklch */ color: oklch(45.9% 0.174 268.6);
Tailwind
colors: {
custom: {
50: '#7c7ccd',
500: '#314ab7',
950: '#000000',
},
}SCSS
$custom: #314ab7; $custom-light: #7c7ccd; $custom-dark: #000000;
JSON
{
"hex": "#314ab7",
"rgb": {
"r": 49,
"g": 74,
"b": 183
},
"hsl": {
"h": 228.806,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.45865,
"c": 0.17441,
"h": 268.6
},
"luminance": 0.08969
}Semantic roles & 50–950 ramp
primary
#314AB7
secondary
#C8B97C
accent
#C447E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82