#3E54BA#3E54BA
#3E54BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.162 H 270.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3E54BA |
|---|---|
| RGB | rgb(62, 84, 186) |
| HSL | hsl(229, 50%, 49%) |
| HSV | hsv(229, 67%, 73%) |
| CMYK | cmyk(66.7%, 54.8%, 0%, 27.1%) |
| CIE-LAB | lab(39.43, 25.26, -56.45) |
| CIE-LCH | lch(39.43, 61.85, 294.10°) |
| OKLab | oklab(48.74% 0.0004 -0.1623) |
| OKLCH | oklch(48.74% 0.162 270.1) |
| XYZ | xyz(14.0168, 10.9087, 47.8118) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.19
Warm Blue
#4B57DB
ΔE00 5.16
Blue Blue
#2242C7
ΔE00 5.81
Cobalt
#0047AB
ΔE00 6.10
Iris
#6258C4
ΔE00 6.18
Denim Blue
#3B5B92
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E54BA #BAA43E
analogous
#3E92BA #3E54BA #663EBA
triadic
#3E54BA #BA3E54 #54BA3E
tetradic
#3E54BA #BA3E92 #BAA43E #3EBA66
square
#3E54BA #BA3E92 #BAA43E #3EBA66
split-complementary
#3E54BA #BA663E #92BA3E
monochromatic
#1F2B5E #2F3F8C #3E54BA #687ACD #96A3DC
Accessibility & contrast
On white
6.60
#3E54BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#3E54BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E54BA
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E54BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E54BA | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3e54ba; /* rgb */ color: rgb(62, 84, 186); /* oklch */ color: oklch(48.7% 0.162 270.1);
Tailwind
colors: {
custom: {
50: '#8183cf',
500: '#3e54ba',
950: '#000000',
},
}SCSS
$custom: #3e54ba; $custom-light: #8183cf; $custom-dark: #000000;
JSON
{
"hex": "#3e54ba",
"rgb": {
"r": 62,
"g": 84,
"b": 186
},
"hsl": {
"h": 229.355,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.48739,
"c": 0.16231,
"h": 270.1
},
"luminance": 0.1091
}Semantic roles & 50–950 ramp
primary
#3E54BA
secondary
#C8BD8C
accent
#C14EDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82