#314CBA#314CBA
#314CBA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.176 H 268.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #314CBA |
|---|---|
| RGB | rgb(49, 76, 186) |
| HSL | hsl(228, 58%, 46%) |
| HSV | hsv(228, 74%, 73%) |
| CMYK | cmyk(73.7%, 59.1%, 0%, 27.1%) |
| CIE-LAB | lab(36.68, 28.63, -60.95) |
| CIE-LCH | lch(36.68, 67.33, 295.16°) |
| OKLab | oklab(46.5% -0.0056 -0.1759) |
| OKLCH | oklch(46.5% 0.176 268.2) |
| XYZ | xyz(12.7109, 9.3657, 47.5827) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.48
Sapphire
#0F52BA
ΔE00 3.96
Cobalt
#0047AB
ΔE00 4.29
Blue (survey)
#0343DF
ΔE00 5.16
Ocean Blue
#4F42B5
ΔE00 5.83
Sapphire (survey)
#2138AB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CBA #BA9F31
analogous
#3190BA #314CBA #5A31BA
triadic
#314CBA #BA314C #4CBA31
tetradic
#314CBA #BA3190 #BA9F31 #31BA5A
square
#314CBA #BA3190 #BA9F31 #31BA5A
split-complementary
#314CBA #BA5A31 #90BA31
monochromatic
#172459 #24388A #314CBA #566ED2 #8698DF
Accessibility & contrast
On white
7.31
#314CBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#314CBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CBA
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CBA | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #314cba; /* rgb */ color: rgb(49, 76, 186); /* oklch */ color: oklch(46.5% 0.176 268.2);
Tailwind
colors: {
custom: {
50: '#7c7dd0',
500: '#314cba',
950: '#000000',
},
}SCSS
$custom: #314cba; $custom-light: #7c7dd0; $custom-dark: #000000;
JSON
{
"hex": "#314cba",
"rgb": {
"r": 49,
"g": 76,
"b": 186
},
"hsl": {
"h": 228.175,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.46504,
"c": 0.17599,
"h": 268.2
},
"luminance": 0.09367
}Semantic roles & 50–950 ramp
primary
#314CBA
secondary
#C9BA7E
accent
#C346E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82