#314FB9#314FB9
#314FB9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.171 H 267.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #314FB9 |
|---|---|
| RGB | rgb(49, 79, 185) |
| HSL | hsl(227, 58%, 46%) |
| HSV | hsv(227, 74%, 73%) |
| CMYK | cmyk(73.5%, 57.3%, 0%, 27.5%) |
| CIE-LAB | lab(37.38, 26.30, -59.21) |
| CIE-LCH | lch(37.38, 64.79, 293.95°) |
| OKLab | oklab(47.01% -0.0079 -0.1708) |
| OKLCH | oklch(47.01% 0.171 267.4) |
| XYZ | xyz(12.8165, 9.7464, 47.0953) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.20
Cobalt
#0047AB
ΔE00 4.31
Blue Blue
#2242C7
ΔE00 4.43
Blue (survey)
#0343DF
ΔE00 5.81
Warm Blue
#4B57DB
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FB9 #B99B31
analogous
#3193B9 #314FB9 #5731B9
triadic
#314FB9 #B9314F #4FB931
tetradic
#314FB9 #B93193 #B99B31 #31B957
square
#314FB9 #B93193 #B99B31 #31B957
split-complementary
#314FB9 #B95731 #93B931
monochromatic
#172658 #243A89 #314FB9 #5571D2 #8699DF
Accessibility & contrast
On white
7.12
#314FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#314FB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FB9
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FB9 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #314fb9; /* rgb */ color: rgb(49, 79, 185); /* oklch */ color: oklch(47.0% 0.171 267.4);
Tailwind
colors: {
custom: {
50: '#7c7fcf',
500: '#314fb9',
950: '#000000',
},
}SCSS
$custom: #314fb9; $custom-light: #7c7fcf; $custom-dark: #000000;
JSON
{
"hex": "#314fb9",
"rgb": {
"r": 49,
"g": 79,
"b": 185
},
"hsl": {
"h": 226.765,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.47006,
"c": 0.17095,
"h": 267.4
},
"luminance": 0.09748
}Semantic roles & 50–950 ramp
primary
#314FB9
secondary
#C8B87D
accent
#BF46E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82