#2539B2#2539B2
#2539B2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.191 H 268.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2539B2 |
|---|---|
| RGB | rgb(37, 57, 178) |
| HSL | hsl(231, 66%, 42%) |
| HSV | hsv(231, 79%, 70%) |
| CMYK | cmyk(79.2%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(30.72, 36.69, -65.99) |
| CIE-LCH | lch(30.72, 75.51, 299.07°) |
| OKLab | oklab(41.75% -0.0046 -0.1911) |
| OKLCH | oklch(41.75% 0.191 268.6) |
| XYZ | xyz(10.2592, 6.5327, 42.8311) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.11
Blue Blue
#2242C7
ΔE00 3.68
Ocean Blue
#4F42B5
ΔE00 5.34
Cobalt
#0047AB
ΔE00 6.09
Blueberry
#464196
ΔE00 6.12
Blue (survey)
#0343DF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2539B2 #B29E25
analogous
#2580B2 #2539B2 #5725B2
triadic
#2539B2 #B22539 #39B225
tetradic
#2539B2 #B22580 #B29E25 #25B257
square
#2539B2 #B22580 #B29E25 #25B257
split-complementary
#2539B2 #B25725 #80B225
monochromatic
#10194D #1A297F #2539B2 #3D53D7 #7080E1
Accessibility & contrast
On white
9.10
#2539B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2539B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2539B2
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2539B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2539B2 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2539b2; /* rgb */ color: rgb(37, 57, 178); /* oklch */ color: oklch(41.7% 0.191 268.6);
Tailwind
colors: {
custom: {
50: '#786fca',
500: '#2539b2',
950: '#000000',
},
}SCSS
$custom: #2539b2; $custom-light: #786fca; $custom-dark: #000000;
JSON
{
"hex": "#2539b2",
"rgb": {
"r": 37,
"g": 57,
"b": 178
},
"hsl": {
"h": 231.489,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.41745,
"c": 0.19115,
"h": 268.6
},
"luminance": 0.06534
}Semantic roles & 50–950 ramp
primary
#2539B2
secondary
#C8BB6B
accent
#D13FE9
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82