#314BB2#314BB2
#314BB2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.166 H 268.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #314BB2 |
|---|---|
| RGB | rgb(49, 75, 178) |
| HSL | hsl(228, 57%, 45%) |
| HSV | hsv(228, 72%, 70%) |
| CMYK | cmyk(72.5%, 57.9%, 0%, 30.2%) |
| CIE-LAB | lab(35.79, 26.32, -57.68) |
| CIE-LCH | lch(35.79, 63.40, 294.53°) |
| OKLab | oklab(45.64% -0.0051 -0.1663) |
| OKLCH | oklch(45.64% 0.166 268.3) |
| XYZ | xyz(11.8158, 8.8982, 43.2057) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.64
Blue Blue
#2242C7
ΔE00 3.97
Sapphire
#0F52BA
ΔE00 4.05
Sapphire (survey)
#2138AB
ΔE00 5.72
Cobalt (survey)
#1E488F
ΔE00 5.92
Ocean Blue
#4F42B5
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BB2 #B29831
analogous
#318CB2 #314BB2 #5831B2
triadic
#314BB2 #B2314B #4BB231
tetradic
#314BB2 #B2318C #B29831 #31B258
square
#314BB2 #B2318C #B29831 #31B258
split-complementary
#314BB2 #B25831 #8CB231
monochromatic
#172352 #243782 #314BB2 #516ACF #8193DC
Accessibility & contrast
On white
7.55
#314BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#314BB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BB2
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BB2 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #314bb2; /* rgb */ color: rgb(49, 75, 178); /* oklch */ color: oklch(45.6% 0.166 268.3);
Tailwind
colors: {
custom: {
50: '#7b7cca',
500: '#314bb2',
950: '#000000',
},
}SCSS
$custom: #314bb2; $custom-light: #7b7cca; $custom-dark: #000000;
JSON
{
"hex": "#314bb2",
"rgb": {
"r": 49,
"g": 75,
"b": 178
},
"hsl": {
"h": 227.907,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.45641,
"c": 0.1664,
"h": 268.3
},
"luminance": 0.08899
}Semantic roles & 50–950 ramp
primary
#314BB2
secondary
#C5B679
accent
#C148E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82