#315ABA#315ABA
#315ABA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.159 H 264.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #315ABA |
|---|---|
| RGB | rgb(49, 90, 186) |
| HSL | hsl(222, 58%, 46%) |
| HSV | hsv(222, 74%, 73%) |
| CMYK | cmyk(73.7%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(40.42, 19.47, -54.87) |
| CIE-LCH | lch(40.42, 58.22, 289.54°) |
| OKLab | oklab(49.33% -0.0165 -0.1578) |
| OKLCH | oklch(49.33% 0.159 264) |
| XYZ | xyz(13.7826, 11.5090, 47.9399) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.04
Denim
#1560BD
ΔE00 3.77
Denim Blue
#3B5B92
ΔE00 5.10
Dusky Blue
#475F94
ΔE00 5.80
French Blue
#436BAD
ΔE00 5.99
Azul
#1D5DEC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315ABA #BA9131
analogous
#319EBA #315ABA #4C31BA
triadic
#315ABA #BA315A #5ABA31
tetradic
#315ABA #BA319E #BA9131 #31BA4C
square
#315ABA #BA319E #BA9131 #31BA4C
split-complementary
#315ABA #BA4C31 #9EBA31
monochromatic
#172B59 #24438A #315ABA #567BD2 #86A1DF
Accessibility & contrast
On white
6.36
#315ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#315ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315ABA
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315ABA | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C66BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #315aba; /* rgb */ color: rgb(49, 90, 186); /* oklch */ color: oklch(49.3% 0.159 264.0);
Tailwind
colors: {
custom: {
50: '#7c88cf',
500: '#315aba',
950: '#000000',
},
}SCSS
$custom: #315aba; $custom-light: #7c88cf; $custom-dark: #000000;
JSON
{
"hex": "#315aba",
"rgb": {
"r": 49,
"g": 90,
"b": 186
},
"hsl": {
"h": 222.044,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.49325,
"c": 0.15867,
"h": 264
},
"luminance": 0.1151
}Semantic roles & 50–950 ramp
primary
#315ABA
secondary
#C9B27E
accent
#B346E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82