#314FBE#314FBE
#314FBE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.178 H 267.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #314FBE |
|---|---|
| RGB | rgb(49, 79, 190) |
| HSL | hsl(227, 59%, 47%) |
| HSV | hsv(227, 74%, 75%) |
| CMYK | cmyk(74.2%, 58.4%, 0%, 25.5%) |
| CIE-LAB | lab(37.77, 28.15, -61.51) |
| CIE-LCH | lch(37.77, 67.65, 294.59°) |
| OKLab | oklab(47.42% -0.0077 -0.1775) |
| OKLCH | oklch(47.42% 0.178 267.5) |
| XYZ | xyz(13.3536, 9.9612, 49.9241) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.46
Blue Blue
#2242C7
ΔE00 4.12
Cobalt
#0047AB
ΔE00 4.77
Blue (survey)
#0343DF
ΔE00 5.26
Warm Blue
#4B57DB
ΔE00 5.75
Ocean Blue
#4F42B5
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FBE #BEA031
analogous
#3196BE #314FBE #5A31BE
triadic
#314FBE #BE314F #4FBE31
tetradic
#314FBE #BE3196 #BEA031 #31BE5A
square
#314FBE #BE3196 #BEA031 #31BE5A
split-complementary
#314FBE #BE5A31 #96BE31
monochromatic
#18275D #243B8D #314FBE #5873D4 #899CE1
Accessibility & contrast
On white
7.02
#314FBE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#314FBE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FBE
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FBE | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #314fbe; /* rgb */ color: rgb(49, 79, 190); /* oklch */ color: oklch(47.4% 0.178 267.5);
Tailwind
colors: {
custom: {
50: '#7d80d2',
500: '#314fbe',
950: '#000000',
},
}SCSS
$custom: #314fbe; $custom-light: #7d80d2; $custom-dark: #000000;
JSON
{
"hex": "#314fbe",
"rgb": {
"r": 49,
"g": 79,
"b": 190
},
"hsl": {
"h": 227.234,
"s": 58.996,
"l": 46.863
},
"oklch": {
"l": 0.47419,
"c": 0.17769,
"h": 267.5
},
"luminance": 0.09963
}Semantic roles & 50–950 ramp
primary
#314FBE
secondary
#CABB80
accent
#C146E2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83