#314FC0#314FC0
#314FC0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.180 H 267.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #314FC0 |
|---|---|
| RGB | rgb(49, 79, 192) |
| HSL | hsl(227, 59%, 47%) |
| HSV | hsv(227, 74%, 75%) |
| CMYK | cmyk(74.5%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(37.93, 28.89, -62.42) |
| CIE-LCH | lch(37.93, 68.78, 294.84°) |
| OKLab | oklab(47.59% -0.0077 -0.1802) |
| OKLCH | oklch(47.59% 0.18 267.6) |
| XYZ | xyz(13.5737, 10.0492, 51.0833) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.60
Blue Blue
#2242C7
ΔE00 4.03
Cobalt
#0047AB
ΔE00 4.96
Blue (survey)
#0343DF
ΔE00 5.05
Warm Blue
#4B57DB
ΔE00 5.53
Ocean Blue
#4F42B5
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FC0 #C0A231
analogous
#3196C0 #314FC0 #5B31C0
triadic
#314FC0 #C0314F #4FC031
tetradic
#314FC0 #C03196 #C0A231 #31C05B
square
#314FC0 #C03196 #C0A231 #31C05B
split-complementary
#314FC0 #C05B31 #96C031
monochromatic
#18275E #253B8F #314FC0 #5973D5 #8A9CE1
Accessibility & contrast
On white
6.98
#314FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#314FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #314FC0
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FC0 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #314fc0; /* rgb */ color: rgb(49, 79, 192); /* oklch */ color: oklch(47.6% 0.180 267.6);
Tailwind
colors: {
custom: {
50: '#7e80d4',
500: '#314fc0',
950: '#000000',
},
}SCSS
$custom: #314fc0; $custom-light: #7e80d4; $custom-dark: #000000;
JSON
{
"hex": "#314fc0",
"rgb": {
"r": 49,
"g": 79,
"b": 192
},
"hsl": {
"h": 227.413,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.47586,
"c": 0.18036,
"h": 267.6
},
"luminance": 0.10051
}Semantic roles & 50–950 ramp
primary
#314FC0
secondary
#CBBC82
accent
#C245E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83