#3142AF#3142AF
#3142AF is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.173 H 270.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #3142AF |
|---|---|
| RGB | rgb(49, 66, 175) |
| HSL | hsl(232, 56%, 44%) |
| HSV | hsv(232, 72%, 69%) |
| CMYK | cmyk(72%, 62.3%, 0%, 31.4%) |
| CIE-LAB | lab(33.23, 31.10, -60.07) |
| CIE-LCH | lch(33.23, 67.64, 297.37°) |
| OKLab | oklab(43.66% 0.0017 -0.1734) |
| OKLCH | oklch(43.66% 0.173 270.6) |
| XYZ | xyz(10.9501, 7.6434, 41.4474) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.03
Blue Blue
#2242C7
ΔE00 3.17
Ocean Blue
#4F42B5
ΔE00 4.48
Cobalt
#0047AB
ΔE00 4.66
Blueberry
#464196
ΔE00 4.99
Blue (survey)
#0343DF
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3142AF #AF9E31
analogous
#3181AF #3142AF #5F31AF
triadic
#3142AF #AF3142 #42AF31
tetradic
#3142AF #AF3181 #AF9E31 #31AF5F
square
#3142AF #AF3181 #AF9E31 #31AF5F
split-complementary
#3142AF #AF5F31 #81AF31
monochromatic
#161E4F #24307F #3142AF #4F60CE #7F8CDB
Accessibility & contrast
On white
8.30
#3142AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#3142AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3142AF
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3142AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3142AF | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3142af; /* rgb */ color: rgb(49, 66, 175); /* oklch */ color: oklch(43.7% 0.173 270.6);
Tailwind
colors: {
custom: {
50: '#7b76c8',
500: '#3142af',
950: '#000000',
},
}SCSS
$custom: #3142af; $custom-light: #7b76c8; $custom-dark: #000000;
JSON
{
"hex": "#3142af",
"rgb": {
"r": 49,
"g": 66,
"b": 175
},
"hsl": {
"h": 231.905,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.43663,
"c": 0.17345,
"h": 270.6
},
"luminance": 0.07645
}Semantic roles & 50–950 ramp
primary
#3142AF
secondary
#C4BA78
accent
#CB48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82