#315CC9#315CC9
#315CC9 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.177 H 264.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #315CC9 |
|---|---|
| RGB | rgb(49, 92, 201) |
| HSL | hsl(223, 61%, 49%) |
| HSV | hsv(223, 76%, 79%) |
| CMYK | cmyk(75.6%, 54.2%, 0%, 21.2%) |
| CIE-LAB | lab(42.03, 23.80, -60.98) |
| CIE-LCH | lch(42.03, 65.46, 291.32°) |
| OKLab | oklab(50.88% -0.0166 -0.1757) |
| OKLCH | oklch(50.88% 0.177 264.6) |
| XYZ | xyz(15.6327, 12.5226, 56.8402) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.15
Denim
#1560BD
ΔE00 4.21
Sapphire
#0F52BA
ΔE00 4.28
Warm Blue
#4B57DB
ΔE00 5.20
Royal Blue
#4169E1
ΔE00 5.57
French Blue
#436BAD
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315CC9 #C99E31
analogous
#31A8C9 #315CC9 #5231C9
triadic
#315CC9 #C9315C #5CC931
tetradic
#315CC9 #C931A8 #C99E31 #31C952
square
#315CC9 #C931A8 #C99E31 #31C952
split-complementary
#315CC9 #C95231 #A8C931
monochromatic
#192F67 #254598 #315CC9 #5F81D8 #90A8E4
Accessibility & contrast
On white
5.99
#315CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#315CC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315CC9
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315CC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315CC9 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #315cc9; /* rgb */ color: rgb(49, 92, 201); /* oklch */ color: oklch(50.9% 0.177 264.6);
Tailwind
colors: {
custom: {
50: '#7f89da',
500: '#315cc9',
950: '#000000',
},
}SCSS
$custom: #315cc9; $custom-light: #7f89da; $custom-dark: #000000;
JSON
{
"hex": "#315cc9",
"rgb": {
"r": 49,
"g": 92,
"b": 201
},
"hsl": {
"h": 223.026,
"s": 60.8,
"l": 49.02
},
"oklch": {
"l": 0.50884,
"c": 0.17653,
"h": 264.6
},
"luminance": 0.12524
}Semantic roles & 50–950 ramp
primary
#315CC9
secondary
#CFBA87
accent
#B744E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83