#3A4E98#3A4E98
#3A4E98 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.123 H 269.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4E98 |
|---|---|
| RGB | rgb(58, 78, 152) |
| HSL | hsl(227, 45%, 41%) |
| HSV | hsv(227, 62%, 60%) |
| CMYK | cmyk(61.8%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(35.23, 16.28, -43.00) |
| CIE-LCH | lch(35.23, 45.98, 290.73°) |
| OKLab | oklab(44.76% -0.001 -0.1229) |
| OKLCH | oklch(44.76% 0.123 269.5) |
| XYZ | xyz(10.1349, 8.6145, 30.8283) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.17
Denim Blue
#3B5B92
ΔE00 5.01
Cobalt
#0047AB
ΔE00 5.08
Twilight
#4E518B
ΔE00 5.14
Dusk Blue
#26538D
ΔE00 5.24
Sapphire
#0F52BA
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4E98 #98843A
analogous
#3A7D98 #3A4E98 #553A98
triadic
#3A4E98 #983A4E #4E983A
tetradic
#3A4E98 #983A7D #98843A #3A9855
square
#3A4E98 #983A7D #98843A #3A9855
split-complementary
#3A4E98 #98553A #7D983A
monochromatic
#18213F #29376C #3A4E98 #5269BD #7E8FCE
Accessibility & contrast
On white
7.71
#3A4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#3A4E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4E98
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4E98 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#194F96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3a4e98; /* rgb */ color: rgb(58, 78, 152); /* oklch */ color: oklch(44.8% 0.123 269.5);
Tailwind
colors: {
custom: {
50: '#797fb7',
500: '#3a4e98',
950: '#000000',
},
}SCSS
$custom: #3a4e98; $custom-light: #797fb7; $custom-dark: #000000;
JSON
{
"hex": "#3a4e98",
"rgb": {
"r": 58,
"g": 78,
"b": 152
},
"hsl": {
"h": 227.234,
"s": 44.762,
"l": 41.176
},
"oklch": {
"l": 0.44761,
"c": 0.1229,
"h": 269.5
},
"luminance": 0.08615
}Semantic roles & 50–950 ramp
primary
#3A4E98
secondary
#B8AA76
accent
#B953D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80