#3145AB#3145AB
#3145AB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.164 H 269.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #3145AB |
|---|---|
| RGB | rgb(49, 69, 171) |
| HSL | hsl(230, 55%, 43%) |
| HSV | hsv(230, 71%, 67%) |
| CMYK | cmyk(71.3%, 59.6%, 0%, 32.9%) |
| CIE-LAB | lab(33.67, 27.67, -56.97) |
| CIE-LCH | lch(33.67, 63.34, 295.91°) |
| OKLab | oklab(43.88% -0.0005 -0.1643) |
| OKLCH | oklch(43.88% 0.164 269.8) |
| XYZ | xyz(10.7429, 7.8484, 39.4689) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 3.89
Cobalt
#0047AB
ΔE00 3.89
Blueberry
#464196
ΔE00 4.95
Ocean Blue
#4F42B5
ΔE00 5.16
Sapphire
#0F52BA
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3145AB #AB9731
analogous
#3182AB #3145AB #5A31AB
triadic
#3145AB #AB3145 #45AB31
tetradic
#3145AB #AB3182 #AB9731 #31AB5A
square
#3145AB #AB3182 #AB9731 #31AB5A
split-complementary
#3145AB #AB5A31 #82AB31
monochromatic
#161F4C #23327B #3145AB #4D62CC #7D8CDA
Accessibility & contrast
On white
8.17
#3145AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#3145AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3145AB
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3145AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3145AB | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3145ab; /* rgb */ color: rgb(49, 69, 171); /* oklch */ color: oklch(43.9% 0.164 269.8);
Tailwind
colors: {
custom: {
50: '#7a78c5',
500: '#3145ab',
950: '#000000',
},
}SCSS
$custom: #3145ab; $custom-light: #7a78c5; $custom-dark: #000000;
JSON
{
"hex": "#3145ab",
"rgb": {
"r": 49,
"g": 69,
"b": 171
},
"hsl": {
"h": 230.164,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.43884,
"c": 0.16432,
"h": 269.8
},
"luminance": 0.07849
}Semantic roles & 50–950 ramp
primary
#3145AB
secondary
#C2B675
accent
#C649DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82