#314BB3#314BB3
#314BB3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.168 H 268.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #314BB3 |
|---|---|
| RGB | rgb(49, 75, 179) |
| HSL | hsl(228, 57%, 45%) |
| HSV | hsv(228, 73%, 70%) |
| CMYK | cmyk(72.6%, 58.1%, 0%, 29.8%) |
| CIE-LAB | lab(35.87, 26.69, -58.14) |
| CIE-LCH | lch(35.87, 63.98, 294.66°) |
| OKLab | oklab(45.72% -0.005 -0.1677) |
| OKLCH | oklch(45.72% 0.168 268.3) |
| XYZ | xyz(11.9166, 8.9386, 43.7364) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.71
Blue Blue
#2242C7
ΔE00 3.86
Sapphire
#0F52BA
ΔE00 4.06
Sapphire (survey)
#2138AB
ΔE00 5.73
Ocean Blue
#4F42B5
ΔE00 5.89
Blue (survey)
#0343DF
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BB3 #B39931
analogous
#318CB3 #314BB3 #5831B3
triadic
#314BB3 #B3314B #4BB331
tetradic
#314BB3 #B3318C #B39931 #31B358
square
#314BB3 #B3318C #B39931 #31B358
split-complementary
#314BB3 #B35831 #8CB331
monochromatic
#172353 #243783 #314BB3 #526BD0 #8294DD
Accessibility & contrast
On white
7.53
#314BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#314BB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BB3
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BB3 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #314bb3; /* rgb */ color: rgb(49, 75, 179); /* oklch */ color: oklch(45.7% 0.168 268.3);
Tailwind
colors: {
custom: {
50: '#7b7dcb',
500: '#314bb3',
950: '#000000',
},
}SCSS
$custom: #314bb3; $custom-light: #7b7dcb; $custom-dark: #000000;
JSON
{
"hex": "#314bb3",
"rgb": {
"r": 49,
"g": 75,
"b": 179
},
"hsl": {
"h": 228,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.45724,
"c": 0.16776,
"h": 268.3
},
"luminance": 0.0894
}Semantic roles & 50–950 ramp
primary
#314BB3
secondary
#C6B77A
accent
#C248E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82