#2541B1#2541B1
#2541B1 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.181 H 267.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2541B1 |
|---|---|
| RGB | rgb(37, 65, 177) |
| HSL | hsl(228, 65%, 42%) |
| HSV | hsv(228, 79%, 69%) |
| CMYK | cmyk(79.1%, 63.3%, 0%, 30.6%) |
| CIE-LAB | lab(32.58, 31.15, -62.34) |
| CIE-LCH | lch(32.58, 69.69, 296.55°) |
| OKLab | oklab(43.09% -0.0089 -0.1803) |
| OKLCH | oklch(43.09% 0.181 267.2) |
| XYZ | xyz(10.5863, 7.3470, 42.4466) |
| Luminance | 0.0735 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.72
Blue Blue
#2242C7
ΔE00 2.95
Cobalt
#0047AB
ΔE00 3.91
Ocean Blue
#4F42B5
ΔE00 5.50
Blue (survey)
#0343DF
ΔE00 5.75
Blueberry
#464196
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2541B1 #B19525
analogous
#2587B1 #2541B1 #4F25B1
triadic
#2541B1 #B12541 #41B125
tetradic
#2541B1 #B12587 #B19525 #25B14F
square
#2541B1 #B12587 #B19525 #25B14F
split-complementary
#2541B1 #B14F25 #87B125
monochromatic
#101C4C #1A2E7E #2541B1 #3D5CD6 #6F86E1
Accessibility & contrast
On white
8.50
#2541B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2541B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2541B1
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2541B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2541B1 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2541b1; /* rgb */ color: rgb(37, 65, 177); /* oklch */ color: oklch(43.1% 0.181 267.2);
Tailwind
colors: {
custom: {
50: '#7775c9',
500: '#2541b1',
950: '#000000',
},
}SCSS
$custom: #2541b1; $custom-light: #7775c9; $custom-dark: #000000;
JSON
{
"hex": "#2541b1",
"rgb": {
"r": 37,
"g": 65,
"b": 177
},
"hsl": {
"h": 228,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.43085,
"c": 0.18056,
"h": 267.2
},
"luminance": 0.07348
}Semantic roles & 50–950 ramp
primary
#2541B1
secondary
#C8B56A
accent
#C73FE8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82