#2542BC#2542BC
#2542BC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.194 H 267.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2542BC |
|---|---|
| RGB | rgb(37, 66, 188) |
| HSL | hsl(228, 67%, 44%) |
| HSV | hsv(228, 80%, 74%) |
| CMYK | cmyk(80.3%, 64.9%, 0%, 26.3%) |
| CIE-LAB | lab(33.81, 34.61, -66.83) |
| CIE-LCH | lch(33.81, 75.26, 297.38°) |
| OKLab | oklab(44.29% -0.0097 -0.1935) |
| OKLCH | oklch(44.29% 0.194 267.1) |
| XYZ | xyz(11.7851, 7.9192, 48.4746) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.43
Sapphire (survey)
#2138AB
ΔE00 3.57
Blue (survey)
#0343DF
ΔE00 4.26
Cobalt
#0047AB
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 5.12
Sapphire
#0F52BA
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2542BC #BC9F25
analogous
#258EBC #2542BC #5425BC
triadic
#2542BC #BC2542 #42BC25
tetradic
#2542BC #BC258E #BC9F25 #25BC54
square
#2542BC #BC258E #BC9F25 #25BC54
split-complementary
#2542BC #BC5425 #8EBC25
monochromatic
#111E56 #1B3089 #2542BC #4461DA #778CE4
Accessibility & contrast
On white
8.13
#2542BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2542BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2542BC
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2542BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2542BC | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2542bc; /* rgb */ color: rgb(37, 66, 188); /* oklch */ color: oklch(44.3% 0.194 267.1);
Tailwind
colors: {
custom: {
50: '#7a76d1',
500: '#2542bc',
950: '#000000',
},
}SCSS
$custom: #2542bc; $custom-light: #7a76d1; $custom-dark: #000000;
JSON
{
"hex": "#2542bc",
"rgb": {
"r": 37,
"g": 66,
"b": 188
},
"hsl": {
"h": 228.477,
"s": 67.111,
"l": 44.118
},
"oklch": {
"l": 0.44293,
"c": 0.19373,
"h": 267.1
},
"luminance": 0.07921
}Semantic roles & 50–950 ramp
primary
#2542BC
secondary
#CCBA71
accent
#C93EEA
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83