#315FCF#315FCF
#315FCF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.181 H 264.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #315FCF |
|---|---|
| RGB | rgb(49, 95, 207) |
| HSL | hsl(223, 62%, 50%) |
| HSV | hsv(223, 76%, 81%) |
| CMYK | cmyk(76.3%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(43.27, 24.10, -62.43) |
| CIE-LCH | lch(43.27, 66.92, 291.11°) |
| OKLab | oklab(51.96% -0.0183 -0.18) |
| OKLCH | oklch(51.96% 0.181 264.2) |
| XYZ | xyz(16.6173, 13.3405, 60.7186) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.43
Denim
#1560BD
ΔE00 4.25
Royal Blue
#4169E1
ΔE00 4.41
Warm Blue
#4B57DB
ΔE00 5.28
Sapphire
#0F52BA
ΔE00 5.36
Bright Blue
#0165FC
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315FCF #CFA131
analogous
#31AECF #315FCF #5231CF
triadic
#315FCF #CF315F #5FCF31
tetradic
#315FCF #CF31AE #CFA131 #31CF52
square
#315FCF #CF31AE #CFA131 #31CF52
split-complementary
#315FCF #CF5231 #AECF31
monochromatic
#19316C #25489E #315FCF #6386DB #94ACE6
Accessibility & contrast
On white
5.72
#315FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#315FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315FCF
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315FCF | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #315fcf; /* rgb */ color: rgb(49, 95, 207); /* oklch */ color: oklch(52.0% 0.181 264.2);
Tailwind
colors: {
custom: {
50: '#808bde',
500: '#315fcf',
950: '#000000',
},
}SCSS
$custom: #315fcf; $custom-light: #808bde; $custom-dark: #000000;
JSON
{
"hex": "#315fcf",
"rgb": {
"r": 49,
"g": 95,
"b": 207
},
"hsl": {
"h": 222.532,
"s": 62.205,
"l": 50.196
},
"oklch": {
"l": 0.51957,
"c": 0.18089,
"h": 264.2
},
"luminance": 0.13342
}Semantic roles & 50–950 ramp
primary
#315FCF
secondary
#D1BD8B
accent
#B643E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83