#315ABC#315ABC
#315ABC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.161 H 264.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #315ABC |
|---|---|
| RGB | rgb(49, 90, 188) |
| HSL | hsl(222, 59%, 46%) |
| HSV | hsv(222, 74%, 74%) |
| CMYK | cmyk(73.9%, 52.1%, 0%, 26.3%) |
| CIE-LAB | lab(40.56, 20.23, -55.81) |
| CIE-LCH | lch(40.56, 59.36, 289.92°) |
| OKLab | oklab(49.48% -0.0162 -0.1606) |
| OKLCH | oklch(49.48% 0.161 264.2) |
| XYZ | xyz(13.9967, 11.5946, 49.0675) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.10
Denim
#1560BD
ΔE00 3.85
Denim Blue
#3B5B92
ΔE00 5.34
Azul
#1D5DEC
ΔE00 5.88
Dusky Blue
#475F94
ΔE00 5.99
French Blue
#436BAD
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315ABC #BC9331
analogous
#31A0BC #315ABC #4E31BC
triadic
#315ABC #BC315A #5ABC31
tetradic
#315ABC #BC31A0 #BC9331 #31BC4E
square
#315ABC #BC31A0 #BC9331 #31BC4E
split-complementary
#315ABC #BC4E31 #A0BC31
monochromatic
#182C5B #24438B #315ABC #577CD3 #88A2E0
Accessibility & contrast
On white
6.33
#315ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#315ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315ABC
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315ABC | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1866BF
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #315abc; /* rgb */ color: rgb(49, 90, 188); /* oklch */ color: oklch(49.5% 0.161 264.2);
Tailwind
colors: {
custom: {
50: '#7c88d1',
500: '#315abc',
950: '#000000',
},
}SCSS
$custom: #315abc; $custom-light: #7c88d1; $custom-dark: #000000;
JSON
{
"hex": "#315abc",
"rgb": {
"r": 49,
"g": 90,
"b": 188
},
"hsl": {
"h": 222.302,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.49476,
"c": 0.1614,
"h": 264.2
},
"luminance": 0.11596
}Semantic roles & 50–950 ramp
primary
#315ABC
secondary
#CAB47F
accent
#B446E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82