#2541A3#2541A3
#2541A3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.162 H 266.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2541A3 |
|---|---|
| RGB | rgb(37, 65, 163) |
| HSL | hsl(227, 63%, 39%) |
| HSV | hsv(227, 77%, 64%) |
| CMYK | cmyk(77.3%, 60.1%, 0%, 36.1%) |
| CIE-LAB | lab(31.39, 25.83, -55.91) |
| CIE-LCH | lch(31.39, 61.59, 294.80°) |
| OKLab | oklab(41.83% -0.0089 -0.1615) |
| OKLCH | oklch(41.83% 0.162 266.8) |
| XYZ | xyz(9.2618, 6.8172, 35.4710) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.22
Cobalt
#0047AB
ΔE00 3.36
Cobalt (survey)
#1E488F
ΔE00 4.86
Blue Blue
#2242C7
ΔE00 4.96
Blueberry
#464196
ΔE00 5.30
Sapphire
#0F52BA
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2541A3 #A38725
analogous
#2580A3 #2541A3 #4825A3
triadic
#2541A3 #A32541 #41A325
tetradic
#2541A3 #A32580 #A38725 #25A348
square
#2541A3 #A32580 #A38725 #25A348
split-complementary
#2541A3 #A34825 #80A325
monochromatic
#0E193F #1A2D71 #2541A3 #3457D1 #6680DC
Accessibility & contrast
On white
8.88
#2541A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2541A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2541A3
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2541A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2541A3 | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2541a3; /* rgb */ color: rgb(37, 65, 163); /* oklch */ color: oklch(41.8% 0.162 266.8);
Tailwind
colors: {
custom: {
50: '#7475bf',
500: '#2541a3',
950: '#000000',
},
}SCSS
$custom: #2541a3; $custom-light: #7475bf; $custom-dark: #000000;
JSON
{
"hex": "#2541a3",
"rgb": {
"r": 37,
"g": 65,
"b": 163
},
"hsl": {
"h": 226.667,
"s": 63,
"l": 39.216
},
"oklch": {
"l": 0.41826,
"c": 0.16176,
"h": 266.8
},
"luminance": 0.06818
}Semantic roles & 50–950 ramp
primary
#2541A3
secondary
#C2AD62
accent
#C242E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81