#315FC9#315FC9
#315FC9 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.173 H 263.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #315FC9 |
|---|---|
| RGB | rgb(49, 95, 201) |
| HSL | hsl(222, 61%, 49%) |
| HSV | hsv(222, 76%, 79%) |
| CMYK | cmyk(75.6%, 52.7%, 0%, 21.2%) |
| CIE-LAB | lab(42.84, 21.86, -59.67) |
| CIE-LCH | lch(42.84, 63.55, 290.12°) |
| OKLab | oklab(51.5% -0.0189 -0.1718) |
| OKLCH | oklch(51.5% 0.173 263.7) |
| XYZ | xyz(15.8977, 13.0526, 56.9286) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.62
Azul
#1D5DEC
ΔE00 4.19
Sapphire
#0F52BA
ΔE00 4.92
Royal Blue
#4169E1
ΔE00 4.94
French Blue
#436BAD
ΔE00 5.20
Warm Blue
#4B57DB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315FC9 #C99B31
analogous
#31ABC9 #315FC9 #4F31C9
triadic
#315FC9 #C9315F #5FC931
tetradic
#315FC9 #C931AB #C99B31 #31C94F
square
#315FC9 #C931AB #C99B31 #31C94F
split-complementary
#315FC9 #C94F31 #ABC931
monochromatic
#193067 #254898 #315FC9 #5F84D8 #90AAE4
Accessibility & contrast
On white
5.82
#315FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#315FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315FC9
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315FC9 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#116DCD
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #315fc9; /* rgb */ color: rgb(49, 95, 201); /* oklch */ color: oklch(51.5% 0.173 263.7);
Tailwind
colors: {
custom: {
50: '#7f8bda',
500: '#315fc9',
950: '#000000',
},
}SCSS
$custom: #315fc9; $custom-light: #7f8bda; $custom-dark: #000000;
JSON
{
"hex": "#315fc9",
"rgb": {
"r": 49,
"g": 95,
"b": 201
},
"hsl": {
"h": 221.842,
"s": 60.8,
"l": 49.02
},
"oklch": {
"l": 0.51496,
"c": 0.17288,
"h": 263.7
},
"luminance": 0.13054
}Semantic roles & 50–950 ramp
primary
#315FC9
secondary
#CFB987
accent
#B344E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83