#3A4E7B#3A4E7B
#3A4E7B is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.079 H 265.1°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4E7B |
|---|---|
| RGB | rgb(58, 78, 123) |
| HSL | hsl(222, 36%, 35%) |
| HSV | hsv(222, 53%, 48%) |
| CMYK | cmyk(52.8%, 36.6%, 0%, 51.8%) |
| CIE-LAB | lab(33.52, 6.09, -27.96) |
| CIE-LCH | lch(33.52, 28.62, 282.28°) |
| OKLab | oklab(42.89% -0.0068 -0.0788) |
| OKLCH | oklch(42.89% 0.079 265.1) |
| XYZ | xyz(8.0433, 7.7778, 19.8125) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 5.20
Twilight
#4E518B
ΔE00 5.20
Dusk Blue
#26538D
ΔE00 5.22
Denim Blue
#3B5B92
ΔE00 5.45
Dusky Blue
#475F94
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4E7B #7B673A
analogous
#3A6F7B #3A4E7B #463A7B
triadic
#3A4E7B #7B3A4E #4E7B3A
tetradic
#3A4E7B #7B3A6F #7B673A #3A7B46
square
#3A4E7B #7B3A6F #7B673A #3A7B46
split-complementary
#3A4E7B #7B463A #6F7B3A
monochromatic
#131928 #263451 #3A4E7B #4E68A5 #7389BD
Accessibility & contrast
On white
8.22
#3A4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#3A4E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4E7B
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4E7B | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#354C7A
Tritanopia (blue-blind)
#1C585E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3a4e7b; /* rgb */ color: rgb(58, 78, 123); /* oklch */ color: oklch(42.9% 0.079 265.1);
Tailwind
colors: {
custom: {
50: '#757fa1',
500: '#3a4e7b',
950: '#000000',
},
}SCSS
$custom: #3a4e7b; $custom-light: #757fa1; $custom-dark: #000000;
JSON
{
"hex": "#3a4e7b",
"rgb": {
"r": 58,
"g": 78,
"b": 123
},
"hsl": {
"h": 221.538,
"s": 35.912,
"l": 35.49
},
"oklch": {
"l": 0.42887,
"c": 0.07914,
"h": 265.1
},
"luminance": 0.07778
}Semantic roles & 50–950 ramp
primary
#3A4E7B
secondary
#A6946B
accent
#A95CCC
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0F
muted
#7B7C7E