#2C259A#2C259A
#2C259A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.180 H 275.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2C259A |
|---|---|
| RGB | rgb(44, 37, 154) |
| HSL | hsl(244, 61%, 37%) |
| HSV | hsv(244, 76%, 60%) |
| CMYK | cmyk(71.4%, 76%, 0%, 39.6%) |
| CIE-LAB | lab(24.29, 41.08, -62.07) |
| CIE-LCH | lch(24.29, 74.43, 303.50°) |
| OKLab | oklab(36.51% 0.0168 -0.1795) |
| OKLCH | oklch(36.51% 0.18 275.3) |
| XYZ | xyz(7.5311, 4.1910, 30.9776) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.75
Indigo Blue
#3A18B1
ΔE00 4.32
Cobalt Blue
#030AA7
ΔE00 5.05
Royal Blue (survey)
#0504AA
ΔE00 5.55
Ultramarine
#2000B1
ΔE00 5.72
Sapphire (survey)
#2138AB
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C259A #939A25
analogous
#25589A #2C259A #67259A
triadic
#2C259A #9A2C25 #259A2C
tetradic
#2C259A #9A2558 #939A25 #259A67
square
#2C259A #9A2558 #939A25 #259A67
split-complementary
#2C259A #9A6725 #589A25
monochromatic
#100D37 #1E1969 #2C259A #3A31CB #6860D9
Accessibility & contrast
On white
11.42
#2C259A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2C259A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C259A
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C259A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C259A | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c259a; /* rgb */ color: rgb(44, 37, 154); /* oklch */ color: oklch(36.5% 0.180 275.3);
Tailwind
colors: {
custom: {
50: '#7662b9',
500: '#2c259a',
950: '#000000',
},
}SCSS
$custom: #2c259a; $custom-light: #7662b9; $custom-dark: #000000;
JSON
{
"hex": "#2c259a",
"rgb": {
"r": 44,
"g": 37,
"b": 154
},
"hsl": {
"h": 243.59,
"s": 61.257,
"l": 37.451
},
"oklch": {
"l": 0.36508,
"c": 0.18024,
"h": 275.3
},
"luminance": 0.04192
}Semantic roles & 50–950 ramp
primary
#2C259A
secondary
#B8BE5D
accent
#E443DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981