#314FC1#314FC1
#314FC1 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.182 H 267.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #314FC1 |
|---|---|
| RGB | rgb(49, 79, 193) |
| HSL | hsl(228, 60%, 47%) |
| HSV | hsv(228, 75%, 76%) |
| CMYK | cmyk(74.6%, 59.1%, 0%, 24.3%) |
| CIE-LAB | lab(38.01, 29.26, -62.88) |
| CIE-LCH | lch(38.01, 69.35, 294.96°) |
| OKLab | oklab(47.67% -0.0076 -0.1815) |
| OKLCH | oklch(47.67% 0.182 267.6) |
| XYZ | xyz(13.6849, 10.0937, 51.6688) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.67
Blue Blue
#2242C7
ΔE00 3.99
Blue (survey)
#0343DF
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.07
Warm Blue
#4B57DB
ΔE00 5.42
Ocean Blue
#4F42B5
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FC1 #C1A331
analogous
#3197C1 #314FC1 #5B31C1
triadic
#314FC1 #C1314F #4FC131
tetradic
#314FC1 #C13197 #C1A331 #31C15B
square
#314FC1 #C13197 #C1A331 #31C15B
split-complementary
#314FC1 #C15B31 #97C131
monochromatic
#18275F #253B90 #314FC1 #5A74D5 #8B9DE2
Accessibility & contrast
On white
6.96
#314FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#314FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #314FC1
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FC1 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #314fc1; /* rgb */ color: rgb(49, 79, 193); /* oklch */ color: oklch(47.7% 0.182 267.6);
Tailwind
colors: {
custom: {
50: '#7e80d5',
500: '#314fc1',
950: '#000000',
},
}SCSS
$custom: #314fc1; $custom-light: #7e80d5; $custom-dark: #000000;
JSON
{
"hex": "#314fc1",
"rgb": {
"r": 49,
"g": 79,
"b": 193
},
"hsl": {
"h": 227.5,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.4767,
"c": 0.18169,
"h": 267.6
},
"luminance": 0.10095
}Semantic roles & 50–950 ramp
primary
#314FC1
secondary
#CCBC82
accent
#C245E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83