#2C258E#2C258E
#2C258E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.165 H 276.7°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2C258E |
|---|---|
| RGB | rgb(44, 37, 142) |
| HSL | hsl(244, 59%, 35%) |
| HSV | hsv(244, 74%, 56%) |
| CMYK | cmyk(69%, 73.9%, 0%, 44.3%) |
| CIE-LAB | lab(23.04, 37.06, -56.74) |
| CIE-LCH | lch(23.04, 67.76, 303.15°) |
| OKLab | oklab(35.24% 0.0193 -0.1639) |
| OKLCH | oklch(35.24% 0.165 276.7) |
| XYZ | xyz(6.5812, 3.8110, 25.9747) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.77
Midnight Blue
#191970
ΔE00 5.42
Indigo Blue
#3A18B1
ΔE00 5.83
Cobalt Blue
#030AA7
ΔE00 5.94
Royal Blue (survey)
#0504AA
ΔE00 6.48
Sapphire (survey)
#2138AB
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C258E #878E25
analogous
#25528E #2C258E #60258E
triadic
#2C258E #8E2C25 #258E2C
tetradic
#2C258E #8E2552 #878E25 #258E60
square
#2C258E #8E2552 #878E25 #258E60
split-complementary
#2C258E #8E6025 #528E25
monochromatic
#0E0C2D #1D185D #2C258E #3B32BF #625AD4
Accessibility & contrast
On white
11.92
#2C258E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2C258E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C258E
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C258E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C258E | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c258e; /* rgb */ color: rgb(44, 37, 142); /* oklch */ color: oklch(35.2% 0.165 276.7);
Tailwind
colors: {
custom: {
50: '#7461b0',
500: '#2c258e',
950: '#000000',
},
}SCSS
$custom: #2c258e; $custom-light: #7461b0; $custom-dark: #000000;
JSON
{
"hex": "#2c258e",
"rgb": {
"r": 44,
"g": 37,
"b": 142
},
"hsl": {
"h": 244,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.3524,
"c": 0.16503,
"h": 276.7
},
"luminance": 0.03812
}Semantic roles & 50–950 ramp
primary
#2C258E
secondary
#B2B956
accent
#E246D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980