#314FB2#314FB2
#314FB2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.161 H 267.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #314FB2 |
|---|---|
| RGB | rgb(49, 79, 178) |
| HSL | hsl(226, 57%, 45%) |
| HSV | hsv(226, 72%, 70%) |
| CMYK | cmyk(72.5%, 55.6%, 0%, 30.2%) |
| CIE-LAB | lab(36.85, 23.69, -55.95) |
| CIE-LCH | lch(36.85, 60.76, 292.95°) |
| OKLab | oklab(46.44% -0.0082 -0.1612) |
| OKLCH | oklch(46.44% 0.161 267.1) |
| XYZ | xyz(12.0957, 9.4580, 43.2990) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.05
Cobalt
#0047AB
ΔE00 3.81
Blue Blue
#2242C7
ΔE00 5.02
Cobalt (survey)
#1E488F
ΔE00 5.79
Denim Blue
#3B5B92
ΔE00 6.14
Dusk Blue
#26538D
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FB2 #B29431
analogous
#318FB2 #314FB2 #5431B2
triadic
#314FB2 #B2314F #4FB231
tetradic
#314FB2 #B2318F #B29431 #31B254
square
#314FB2 #B2318F #B29431 #31B254
split-complementary
#314FB2 #B25431 #8FB231
monochromatic
#172452 #243A82 #314FB2 #516ECF #8196DC
Accessibility & contrast
On white
7.26
#314FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#314FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FB2
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FB2 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #314fb2; /* rgb */ color: rgb(49, 79, 178); /* oklch */ color: oklch(46.4% 0.161 267.1);
Tailwind
colors: {
custom: {
50: '#7a7fca',
500: '#314fb2',
950: '#000000',
},
}SCSS
$custom: #314fb2; $custom-light: #7a7fca; $custom-dark: #000000;
JSON
{
"hex": "#314fb2",
"rgb": {
"r": 49,
"g": 79,
"b": 178
},
"hsl": {
"h": 226.047,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.46439,
"c": 0.16139,
"h": 267.1
},
"luminance": 0.09459
}Semantic roles & 50–950 ramp
primary
#314FB2
secondary
#C5B479
accent
#BD48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82