#314FC2#314FC2
#314FC2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.183 H 267.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #314FC2 |
|---|---|
| RGB | rgb(49, 79, 194) |
| HSL | hsl(228, 60%, 48%) |
| HSV | hsv(228, 75%, 76%) |
| CMYK | cmyk(74.7%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(38.09, 29.63, -63.33) |
| CIE-LCH | lch(38.09, 69.92, 295.07°) |
| OKLab | oklab(47.76% -0.0076 -0.1829) |
| OKLCH | oklch(47.76% 0.183 267.6) |
| XYZ | xyz(13.7968, 10.1385, 52.2583) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.75
Blue Blue
#2242C7
ΔE00 3.96
Blue (survey)
#0343DF
ΔE00 4.85
Cobalt
#0047AB
ΔE00 5.17
Warm Blue
#4B57DB
ΔE00 5.31
Ocean Blue
#4F42B5
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FC2 #C2A431
analogous
#3198C2 #314FC2 #5B31C2
triadic
#314FC2 #C2314F #4FC231
tetradic
#314FC2 #C23198 #C2A431 #31C25B
square
#314FC2 #C23198 #C2A431 #31C25B
split-complementary
#314FC2 #C25B31 #98C231
monochromatic
#182760 #253B91 #314FC2 #5B74D6 #8C9DE2
Accessibility & contrast
On white
6.94
#314FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#314FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #314FC2
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FC2 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #314fc2; /* rgb */ color: rgb(49, 79, 194); /* oklch */ color: oklch(47.8% 0.183 267.6);
Tailwind
colors: {
custom: {
50: '#7e80d5',
500: '#314fc2',
950: '#000000',
},
}SCSS
$custom: #314fc2; $custom-light: #7e80d5; $custom-dark: #000000;
JSON
{
"hex": "#314fc2",
"rgb": {
"r": 49,
"g": 79,
"b": 194
},
"hsl": {
"h": 227.586,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.47755,
"c": 0.18302,
"h": 267.6
},
"luminance": 0.1014
}Semantic roles & 50–950 ramp
primary
#314FC2
secondary
#CCBD83
accent
#C245E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83