#3B4C8A#3B4C8A
#3B4C8A is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.4% C 0.104 H 270.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #3B4C8A |
|---|---|
| RGB | rgb(59, 76, 138) |
| HSL | hsl(227, 40%, 39%) |
| HSV | hsv(227, 57%, 54%) |
| CMYK | cmyk(57.2%, 44.9%, 0%, 45.9%) |
| CIE-LAB | lab(33.84, 12.84, -36.69) |
| CIE-LCH | lch(33.84, 38.87, 289.28°) |
| OKLab | oklab(43.43% 0.0001 -0.1044) |
| OKLCH | oklch(43.43% 0.104 270.1) |
| XYZ | xyz(8.9740, 7.9330, 25.0982) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.17
Cobalt (survey)
#1E488F
ΔE00 4.32
Dusk
#4E5481
ΔE00 5.45
Dusk Blue
#26538D
ΔE00 5.60
Denim Blue
#3B5B92
ΔE00 5.62
Blueberry
#464196
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B4C8A #8A793B
analogous
#3B738A #3B4C8A #513B8A
triadic
#3B4C8A #8A3B4C #4C8A3B
tetradic
#3B4C8A #8A3B73 #8A793B #3B8A51
square
#3B4C8A #8A3B73 #8A793B #3B8A51
split-complementary
#3B4C8A #8A513B #738A3B
monochromatic
#161D34 #29345F #3B4C8A #4F64B4 #798AC6
Accessibility & contrast
On white
8.12
#3B4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#3B4C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B4C8A
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B4C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B4C8A | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#274C89
Tritanopia (blue-blind)
#0D5A64
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3b4c8a; /* rgb */ color: rgb(59, 76, 138); /* oklch */ color: oklch(43.4% 0.104 270.1);
Tailwind
colors: {
custom: {
50: '#777dac',
500: '#3b4c8a',
950: '#000000',
},
}SCSS
$custom: #3b4c8a; $custom-light: #777dac; $custom-dark: #000000;
JSON
{
"hex": "#3b4c8a",
"rgb": {
"r": 59,
"g": 76,
"b": 138
},
"hsl": {
"h": 227.089,
"s": 40.102,
"l": 38.627
},
"oklch": {
"l": 0.43434,
"c": 0.10437,
"h": 270.1
},
"luminance": 0.07934
}Semantic roles & 50–950 ramp
primary
#3B4C8A
secondary
#AFA271
accent
#B658D0
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F