#3B4E9D#3B4E9D
#3B4E9D is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.130 H 270.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3B4E9D |
|---|---|
| RGB | rgb(59, 78, 157) |
| HSL | hsl(228, 45%, 42%) |
| HSV | hsv(228, 62%, 62%) |
| CMYK | cmyk(62.4%, 50.3%, 0%, 38.4%) |
| CIE-LAB | lab(35.62, 18.26, -45.39) |
| CIE-LCH | lch(35.62, 48.92, 291.92°) |
| OKLab | oklab(45.18% 0.0007 -0.1299) |
| OKLCH | oklch(45.18% 0.13 270.3) |
| XYZ | xyz(10.6118, 8.8120, 33.0334) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.62
Cobalt
#0047AB
ΔE00 4.90
Denim Blue
#3B5B92
ΔE00 5.33
Twilight
#4E518B
ΔE00 5.44
Sapphire
#0F52BA
ΔE00 5.47
Blueberry
#464196
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B4E9D #9D8A3B
analogous
#3B7F9D #3B4E9D #593B9D
triadic
#3B4E9D #9D3B4E #4E9D3B
tetradic
#3B4E9D #9D3B7F #9D8A3B #3B9D59
square
#3B4E9D #9D3B7F #9D8A3B #3B9D59
split-complementary
#3B4E9D #9D593B #7F9D3B
monochromatic
#1A2244 #2A3871 #3B4E9D #566ABF #8291D0
Accessibility & contrast
On white
7.60
#3B4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#3B4E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B4E9D
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B4E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B4E9D | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2458A0
Deuteranopia (green-blind)
#0F509B
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3b4e9d; /* rgb */ color: rgb(59, 78, 157); /* oklch */ color: oklch(45.2% 0.130 270.3);
Tailwind
colors: {
custom: {
50: '#7b7fba',
500: '#3b4e9d',
950: '#000000',
},
}SCSS
$custom: #3b4e9d; $custom-light: #7b7fba; $custom-dark: #000000;
JSON
{
"hex": "#3b4e9d",
"rgb": {
"r": 59,
"g": 78,
"b": 157
},
"hsl": {
"h": 228.367,
"s": 45.37,
"l": 42.353
},
"oklch": {
"l": 0.45178,
"c": 0.1299,
"h": 270.3
},
"luminance": 0.08813
}Semantic roles & 50–950 ramp
primary
#3B4E9D
secondary
#BAAE7A
accent
#BC53D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81