#2B259F#2B259F
#2B259F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.187 H 274.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2B259F |
|---|---|
| RGB | rgb(43, 37, 159) |
| HSL | hsl(243, 62%, 38%) |
| HSV | hsv(243, 77%, 62%) |
| CMYK | cmyk(73%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(24.76, 42.63, -64.35) |
| CIE-LCH | lch(24.76, 77.19, 303.52°) |
| OKLab | oklab(36.98% 0.0144 -0.1861) |
| OKLCH | oklch(36.98% 0.187 274.4) |
| XYZ | xyz(7.9138, 4.3392, 33.2146) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.83
Royal
#0C1793
ΔE00 3.96
Cobalt Blue
#030AA7
ΔE00 4.83
Royal Blue (survey)
#0504AA
ΔE00 5.31
Ultramarine
#2000B1
ΔE00 5.37
Sapphire (survey)
#2138AB
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B259F #999F25
analogous
#255C9F #2B259F #68259F
triadic
#2B259F #9F2B25 #259F2B
tetradic
#2B259F #9F255C #999F25 #259F68
square
#2B259F #9F255C #999F25 #259F68
split-complementary
#2B259F #9F6825 #5C9F25
monochromatic
#100E3C #1E196D #2B259F #3A32CF #6964DB
Accessibility & contrast
On white
11.24
#2B259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2B259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B259F
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B259F | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b259f; /* rgb */ color: rgb(43, 37, 159); /* oklch */ color: oklch(37.0% 0.187 274.4);
Tailwind
colors: {
custom: {
50: '#7762bd',
500: '#2b259f',
950: '#000000',
},
}SCSS
$custom: #2b259f; $custom-light: #7762bd; $custom-dark: #000000;
JSON
{
"hex": "#2b259f",
"rgb": {
"r": 43,
"g": 37,
"b": 159
},
"hsl": {
"h": 242.951,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.36981,
"c": 0.18669,
"h": 274.4
},
"luminance": 0.0434
}Semantic roles & 50–950 ramp
primary
#2B259F
secondary
#BCC05F
accent
#E542DD
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981