#3145AF#3145AF
#3145AF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.170 H 269.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3145AF |
|---|---|
| RGB | rgb(49, 69, 175) |
| HSL | hsl(230, 56%, 44%) |
| HSV | hsv(230, 72%, 69%) |
| CMYK | cmyk(72%, 60.6%, 0%, 31.4%) |
| CIE-LAB | lab(33.99, 29.15, -58.83) |
| CIE-LCH | lch(33.99, 65.65, 296.36°) |
| OKLab | oklab(44.23% -0.0005 -0.1698) |
| OKLCH | oklch(44.23% 0.17 269.8) |
| XYZ | xyz(11.1300, 8.0032, 41.5073) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.31
Sapphire (survey)
#2138AB
ΔE00 3.86
Cobalt
#0047AB
ΔE00 4.08
Ocean Blue
#4F42B5
ΔE00 4.87
Blueberry
#464196
ΔE00 5.25
Sapphire
#0F52BA
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3145AF #AF9B31
analogous
#3184AF #3145AF #5C31AF
triadic
#3145AF #AF3145 #45AF31
tetradic
#3145AF #AF3184 #AF9B31 #31AF5C
square
#3145AF #AF3184 #AF9B31 #31AF5C
split-complementary
#3145AF #AF5C31 #84AF31
monochromatic
#161F4F #24327F #3145AF #4F63CE #7F8EDB
Accessibility & contrast
On white
8.07
#3145AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#3145AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3145AF
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3145AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3145AF | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3145af; /* rgb */ color: rgb(49, 69, 175); /* oklch */ color: oklch(44.2% 0.170 269.8);
Tailwind
colors: {
custom: {
50: '#7a78c8',
500: '#3145af',
950: '#000000',
},
}SCSS
$custom: #3145af; $custom-light: #7a78c8; $custom-dark: #000000;
JSON
{
"hex": "#3145af",
"rgb": {
"r": 49,
"g": 69,
"b": 175
},
"hsl": {
"h": 230.476,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.44226,
"c": 0.16977,
"h": 269.8
},
"luminance": 0.08004
}Semantic roles & 50–950 ramp
primary
#3145AF
secondary
#C4B878
accent
#C848E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82