#315EC3#315EC3
#315EC3 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.166 H 263.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #315EC3 |
|---|---|
| RGB | rgb(49, 94, 195) |
| HSL | hsl(222, 60%, 48%) |
| HSV | hsv(222, 75%, 76%) |
| CMYK | cmyk(74.9%, 51.8%, 0%, 23.5%) |
| CIE-LAB | lab(42.15, 20.25, -57.32) |
| CIE-LCH | lch(42.15, 60.79, 289.46°) |
| OKLab | oklab(50.84% -0.0187 -0.165) |
| OKLCH | oklch(50.84% 0.166 263.5) |
| XYZ | xyz(15.1161, 12.5968, 53.2539) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.25
Sapphire
#0F52BA
ΔE00 4.33
Azul
#1D5DEC
ΔE00 4.92
French Blue
#436BAD
ΔE00 5.10
Royal Blue
#4169E1
ΔE00 5.71
Mid Blue
#276AB3
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315EC3 #C39631
analogous
#31A7C3 #315EC3 #4D31C3
triadic
#315EC3 #C3315E #5EC331
tetradic
#315EC3 #C331A7 #C39631 #31C34D
square
#315EC3 #C331A7 #C39631 #31C34D
split-complementary
#315EC3 #C34D31 #A7C331
monochromatic
#182F61 #254692 #315EC3 #5B81D6 #8CA7E2
Accessibility & contrast
On white
5.97
#315EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#315EC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315EC3
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315EC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315EC3 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B6BC7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #315ec3; /* rgb */ color: rgb(49, 94, 195); /* oklch */ color: oklch(50.8% 0.166 263.5);
Tailwind
colors: {
custom: {
50: '#7d8bd6',
500: '#315ec3',
950: '#000000',
},
}SCSS
$custom: #315ec3; $custom-light: #7d8bd6; $custom-dark: #000000;
JSON
{
"hex": "#315ec3",
"rgb": {
"r": 49,
"g": 94,
"b": 195
},
"hsl": {
"h": 221.507,
"s": 59.836,
"l": 47.843
},
"oklch": {
"l": 0.50836,
"c": 0.16602,
"h": 263.5
},
"luminance": 0.12599
}Semantic roles & 50–950 ramp
primary
#315EC3
secondary
#CCB683
accent
#B245E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83