#314FB8#314FB8
#314FB8 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.170 H 267.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #314FB8 |
|---|---|
| RGB | rgb(49, 79, 184) |
| HSL | hsl(227, 58%, 46%) |
| HSV | hsv(227, 73%, 72%) |
| CMYK | cmyk(73.4%, 57.1%, 0%, 27.8%) |
| CIE-LAB | lab(37.31, 25.93, -58.75) |
| CIE-LCH | lch(37.31, 64.22, 293.81°) |
| OKLab | oklab(46.92% -0.0079 -0.1694) |
| OKLCH | oklch(46.92% 0.17 267.3) |
| XYZ | xyz(12.7113, 9.7043, 46.5413) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.16
Cobalt
#0047AB
ΔE00 4.23
Blue Blue
#2242C7
ΔE00 4.50
Blue (survey)
#0343DF
ΔE00 5.92
Warm Blue
#4B57DB
ΔE00 6.45
Cobalt (survey)
#1E488F
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FB8 #B89A31
analogous
#3192B8 #314FB8 #5731B8
triadic
#314FB8 #B8314F #4FB831
tetradic
#314FB8 #B83192 #B89A31 #31B857
square
#314FB8 #B83192 #B89A31 #31B857
split-complementary
#314FB8 #B85731 #92B831
monochromatic
#172557 #243A88 #314FB8 #5570D2 #8599DE
Accessibility & contrast
On white
7.14
#314FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#314FB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FB8
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FB8 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #314fb8; /* rgb */ color: rgb(49, 79, 184); /* oklch */ color: oklch(46.9% 0.170 267.3);
Tailwind
colors: {
custom: {
50: '#7c7fce',
500: '#314fb8',
950: '#000000',
},
}SCSS
$custom: #314fb8; $custom-light: #7c7fce; $custom-dark: #000000;
JSON
{
"hex": "#314fb8",
"rgb": {
"r": 49,
"g": 79,
"b": 184
},
"hsl": {
"h": 226.667,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.46924,
"c": 0.16959,
"h": 267.3
},
"luminance": 0.09706
}Semantic roles & 50–950 ramp
primary
#314FB8
secondary
#C8B77D
accent
#BF47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82