#314DC2#314DC2
#314DC2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.185 H 268.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #314DC2 |
|---|---|
| RGB | rgb(49, 77, 194) |
| HSL | hsl(228, 60%, 48%) |
| HSV | hsv(228, 75%, 76%) |
| CMYK | cmyk(74.7%, 60.3%, 0%, 23.9%) |
| CIE-LAB | lab(37.58, 30.92, -64.16) |
| CIE-LCH | lch(37.58, 71.23, 295.73°) |
| OKLab | oklab(47.38% -0.0062 -0.1853) |
| OKLCH | oklch(47.38% 0.185 268.1) |
| XYZ | xyz(13.6547, 9.8543, 52.2109) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.34
Sapphire
#0F52BA
ΔE00 4.17
Blue (survey)
#0343DF
ΔE00 4.44
Cobalt
#0047AB
ΔE00 5.11
Warm Blue
#4B57DB
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314DC2 #C2A631
analogous
#3195C2 #314DC2 #5E31C2
triadic
#314DC2 #C2314D #4DC231
tetradic
#314DC2 #C23195 #C2A631 #31C25E
square
#314DC2 #C23195 #C2A631 #31C25E
split-complementary
#314DC2 #C25E31 #95C231
monochromatic
#182660 #253A91 #314DC2 #5B72D6 #8C9CE2
Accessibility & contrast
On white
7.07
#314DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#314DC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314DC2
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314DC2 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #314dc2; /* rgb */ color: rgb(49, 77, 194); /* oklch */ color: oklch(47.4% 0.185 268.1);
Tailwind
colors: {
custom: {
50: '#7e7ed5',
500: '#314dc2',
950: '#000000',
},
}SCSS
$custom: #314dc2; $custom-light: #7e7ed5; $custom-dark: #000000;
JSON
{
"hex": "#314dc2",
"rgb": {
"r": 49,
"g": 77,
"b": 194
},
"hsl": {
"h": 228.414,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.47375,
"c": 0.18544,
"h": 268.1
},
"luminance": 0.09856
}Semantic roles & 50–950 ramp
primary
#314DC2
secondary
#CCBE83
accent
#C445E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83