#314CC2#314CC2
#314CC2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.187 H 268.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #314CC2 |
|---|---|
| RGB | rgb(49, 76, 194) |
| HSL | hsl(229, 60%, 48%) |
| HSV | hsv(229, 75%, 76%) |
| CMYK | cmyk(74.7%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(37.33, 31.57, -64.58) |
| CIE-LCH | lch(37.33, 71.88, 296.05°) |
| OKLab | oklab(47.19% -0.0056 -0.1866) |
| OKLCH | oklch(47.19% 0.187 268.3) |
| XYZ | xyz(13.5853, 9.7154, 52.1878) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.03
Blue (survey)
#0343DF
ΔE00 4.25
Sapphire
#0F52BA
ΔE00 4.41
Cobalt
#0047AB
ΔE00 5.11
Warm Blue
#4B57DB
ΔE00 5.63
Ocean Blue
#4F42B5
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CC2 #C2A731
analogous
#3194C2 #314CC2 #5F31C2
triadic
#314CC2 #C2314C #4CC231
tetradic
#314CC2 #C23194 #C2A731 #31C25F
square
#314CC2 #C23194 #C2A731 #31C25F
split-complementary
#314CC2 #C25F31 #94C231
monochromatic
#182660 #253991 #314CC2 #5B72D6 #8C9CE2
Accessibility & contrast
On white
7.13
#314CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#314CC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CC2
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CC2 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #314cc2; /* rgb */ color: rgb(49, 76, 194); /* oklch */ color: oklch(47.2% 0.187 268.3);
Tailwind
colors: {
custom: {
50: '#7e7dd5',
500: '#314cc2',
950: '#000000',
},
}SCSS
$custom: #314cc2; $custom-light: #7e7dd5; $custom-dark: #000000;
JSON
{
"hex": "#314cc2",
"rgb": {
"r": 49,
"g": 76,
"b": 194
},
"hsl": {
"h": 228.828,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.47187,
"c": 0.18664,
"h": 268.3
},
"luminance": 0.09717
}Semantic roles & 50–950 ramp
primary
#314CC2
secondary
#CCBE83
accent
#C545E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0914
muted
#7C7B83