#2541B0#2541B0
#2541B0 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.179 H 267.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2541B0 |
|---|---|
| RGB | rgb(37, 65, 176) |
| HSL | hsl(228, 65%, 42%) |
| HSV | hsv(228, 79%, 69%) |
| CMYK | cmyk(79%, 63.1%, 0%, 31%) |
| CIE-LAB | lab(32.50, 30.78, -61.89) |
| CIE-LCH | lch(32.50, 69.12, 296.44°) |
| OKLab | oklab(42.99% -0.0089 -0.179) |
| OKLCH | oklch(42.99% 0.179 267.2) |
| XYZ | xyz(10.4870, 7.3073, 41.9236) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.70
Blue Blue
#2242C7
ΔE00 3.09
Cobalt
#0047AB
ΔE00 3.84
Ocean Blue
#4F42B5
ΔE00 5.57
Blueberry
#464196
ΔE00 5.85
Blue (survey)
#0343DF
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2541B0 #B09425
analogous
#2587B0 #2541B0 #4F25B0
triadic
#2541B0 #B02541 #41B025
tetradic
#2541B0 #B02587 #B09425 #25B04F
square
#2541B0 #B02587 #B09425 #25B04F
split-complementary
#2541B0 #B04F25 #87B025
monochromatic
#101C4B #1A2E7D #2541B0 #3C5BD6 #6F86E1
Accessibility & contrast
On white
8.53
#2541B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2541B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2541B0
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2541B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2541B0 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2541b0; /* rgb */ color: rgb(37, 65, 176); /* oklch */ color: oklch(43.0% 0.179 267.2);
Tailwind
colors: {
custom: {
50: '#7775c9',
500: '#2541b0',
950: '#000000',
},
}SCSS
$custom: #2541b0; $custom-light: #7775c9; $custom-dark: #000000;
JSON
{
"hex": "#2541b0",
"rgb": {
"r": 37,
"g": 65,
"b": 176
},
"hsl": {
"h": 227.914,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.42994,
"c": 0.17924,
"h": 267.2
},
"luminance": 0.07308
}Semantic roles & 50–950 ramp
primary
#2541B0
secondary
#C7B46A
accent
#C640E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82