#3E4E98#3E4E98
#3E4E98 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.122 H 271.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3E4E98 |
|---|---|
| RGB | rgb(62, 78, 152) |
| HSL | hsl(229, 42%, 42%) |
| HSV | hsv(229, 59%, 60%) |
| CMYK | cmyk(59.2%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(35.48, 17.09, -42.59) |
| CIE-LCH | lch(35.48, 45.89, 291.86°) |
| OKLab | oklab(45.01% 0.0033 -0.1216) |
| OKLCH | oklch(45.01% 0.122 271.5) |
| XYZ | xyz(10.3766, 8.7391, 30.8397) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 4.85
Blueberry
#464196
ΔE00 5.30
Denim Blue
#3B5B92
ΔE00 5.38
Cobalt
#0047AB
ΔE00 5.67
Dusky Blue
#475F94
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E4E98 #98883E
analogous
#3E7B98 #3E4E98 #5B3E98
triadic
#3E4E98 #983E4E #4E983E
tetradic
#3E4E98 #983E7B #98883E #3E985B
square
#3E4E98 #983E7B #98883E #3E985B
split-complementary
#3E4E98 #985B3E #7B983E
monochromatic
#1B2141 #2C386D #3E4E98 #586ABB #8491CD
Accessibility & contrast
On white
7.64
#3E4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#3E4E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E4E98
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E4E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E4E98 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A589B
Deuteranopia (green-blind)
#1C5096
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3e4e98; /* rgb */ color: rgb(62, 78, 152); /* oklch */ color: oklch(45.0% 0.122 271.5);
Tailwind
colors: {
custom: {
50: '#7b7fb7',
500: '#3e4e98',
950: '#000000',
},
}SCSS
$custom: #3e4e98; $custom-light: #7b7fb7; $custom-dark: #000000;
JSON
{
"hex": "#3e4e98",
"rgb": {
"r": 62,
"g": 78,
"b": 152
},
"hsl": {
"h": 229.333,
"s": 42.056,
"l": 41.961
},
"oklch": {
"l": 0.45013,
"c": 0.12164,
"h": 271.5
},
"luminance": 0.0874
}Semantic roles & 50–950 ramp
primary
#3E4E98
secondary
#B7AC7B
accent
#BC56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80