#314DC1#314DC1
#314DC1 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.184 H 268.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #314DC1 |
|---|---|
| RGB | rgb(49, 77, 193) |
| HSL | hsl(228, 60%, 47%) |
| HSV | hsv(228, 75%, 76%) |
| CMYK | cmyk(74.6%, 60.1%, 0%, 24.3%) |
| CIE-LAB | lab(37.50, 30.56, -63.71) |
| CIE-LCH | lch(37.50, 70.66, 295.62°) |
| OKLab | oklab(47.29% -0.0062 -0.184) |
| OKLCH | oklch(47.29% 0.184 268.1) |
| XYZ | xyz(13.5428, 9.8095, 51.6214) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.37
Sapphire
#0F52BA
ΔE00 4.10
Blue (survey)
#0343DF
ΔE00 4.54
Cobalt
#0047AB
ΔE00 5.00
Warm Blue
#4B57DB
ΔE00 5.61
Ocean Blue
#4F42B5
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314DC1 #C1A531
analogous
#3195C1 #314DC1 #5D31C1
triadic
#314DC1 #C1314D #4DC131
tetradic
#314DC1 #C13195 #C1A531 #31C15D
square
#314DC1 #C13195 #C1A531 #31C15D
split-complementary
#314DC1 #C15D31 #95C131
monochromatic
#18265F #253A90 #314DC1 #5A72D5 #8B9CE2
Accessibility & contrast
On white
7.09
#314DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#314DC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314DC1
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314DC1 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #314dc1; /* rgb */ color: rgb(49, 77, 193); /* oklch */ color: oklch(47.3% 0.184 268.1);
Tailwind
colors: {
custom: {
50: '#7e7ed5',
500: '#314dc1',
950: '#000000',
},
}SCSS
$custom: #314dc1; $custom-light: #7e7ed5; $custom-dark: #000000;
JSON
{
"hex": "#314dc1",
"rgb": {
"r": 49,
"g": 77,
"b": 193
},
"hsl": {
"h": 228.333,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.47289,
"c": 0.18412,
"h": 268.1
},
"luminance": 0.09811
}Semantic roles & 50–950 ramp
primary
#314DC1
secondary
#CCBD82
accent
#C445E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83