#314CC1#314CC1
#314CC1 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.185 H 268.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #314CC1 |
|---|---|
| RGB | rgb(49, 76, 193) |
| HSL | hsl(229, 60%, 47%) |
| HSV | hsv(229, 75%, 76%) |
| CMYK | cmyk(74.6%, 60.6%, 0%, 24.3%) |
| CIE-LAB | lab(37.24, 31.20, -64.13) |
| CIE-LCH | lch(37.24, 71.31, 295.95°) |
| OKLab | oklab(47.1% -0.0056 -0.1852) |
| OKLCH | oklch(47.1% 0.185 268.3) |
| XYZ | xyz(13.4734, 9.6707, 51.5983) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.07
Sapphire
#0F52BA
ΔE00 4.34
Blue (survey)
#0343DF
ΔE00 4.36
Cobalt
#0047AB
ΔE00 5.00
Ocean Blue
#4F42B5
ΔE00 5.71
Warm Blue
#4B57DB
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CC1 #C1A631
analogous
#3194C1 #314CC1 #5E31C1
triadic
#314CC1 #C1314C #4CC131
tetradic
#314CC1 #C13194 #C1A631 #31C15E
square
#314CC1 #C13194 #C1A631 #31C15E
split-complementary
#314CC1 #C15E31 #94C131
monochromatic
#18265F #253990 #314CC1 #5A71D5 #8B9BE2
Accessibility & contrast
On white
7.16
#314CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#314CC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CC1
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CC1 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #314cc1; /* rgb */ color: rgb(49, 76, 193); /* oklch */ color: oklch(47.1% 0.185 268.3);
Tailwind
colors: {
custom: {
50: '#7e7dd5',
500: '#314cc1',
950: '#000000',
},
}SCSS
$custom: #314cc1; $custom-light: #7e7dd5; $custom-dark: #000000;
JSON
{
"hex": "#314cc1",
"rgb": {
"r": 49,
"g": 76,
"b": 193
},
"hsl": {
"h": 228.75,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.47101,
"c": 0.18532,
"h": 268.3
},
"luminance": 0.09672
}Semantic roles & 50–950 ramp
primary
#314CC1
secondary
#CCBE82
accent
#C545E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0914
muted
#7C7B83