#314FBC#314FBC
#314FBC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.175 H 267.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #314FBC |
|---|---|
| RGB | rgb(49, 79, 188) |
| HSL | hsl(227, 59%, 46%) |
| HSV | hsv(227, 74%, 74%) |
| CMYK | cmyk(73.9%, 58%, 0%, 26.3%) |
| CIE-LAB | lab(37.62, 27.41, -60.59) |
| CIE-LCH | lch(37.62, 66.51, 294.34°) |
| OKLab | oklab(47.25% -0.0078 -0.1748) |
| OKLCH | oklch(47.25% 0.175 267.5) |
| XYZ | xyz(13.1365, 9.8744, 48.7808) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.34
Blue Blue
#2242C7
ΔE00 4.23
Cobalt
#0047AB
ΔE00 4.58
Blue (survey)
#0343DF
ΔE00 5.47
Warm Blue
#4B57DB
ΔE00 5.98
Ocean Blue
#4F42B5
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FBC #BC9E31
analogous
#3195BC #314FBC #5831BC
triadic
#314FBC #BC314F #4FBC31
tetradic
#314FBC #BC3195 #BC9E31 #31BC58
square
#314FBC #BC3195 #BC9E31 #31BC58
split-complementary
#314FBC #BC5831 #95BC31
monochromatic
#18265B #243B8B #314FBC #5772D3 #889BE0
Accessibility & contrast
On white
7.06
#314FBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#314FBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FBC
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FBC | 1.00 | 7.06 | 2.98 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #314fbc; /* rgb */ color: rgb(49, 79, 188); /* oklch */ color: oklch(47.3% 0.175 267.5);
Tailwind
colors: {
custom: {
50: '#7d80d1',
500: '#314fbc',
950: '#000000',
},
}SCSS
$custom: #314fbc; $custom-light: #7d80d1; $custom-dark: #000000;
JSON
{
"hex": "#314fbc",
"rgb": {
"r": 49,
"g": 79,
"b": 188
},
"hsl": {
"h": 227.05,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.47253,
"c": 0.175,
"h": 267.5
},
"luminance": 0.09876
}Semantic roles & 50–950 ramp
primary
#314FBC
secondary
#CABA7F
accent
#C046E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82