#2C2D7B#2C2D7B
#2C2D7B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.129 H 276.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D7B |
|---|---|
| RGB | rgb(44, 45, 123) |
| HSL | hsl(239, 47%, 33%) |
| HSV | hsv(239, 64%, 48%) |
| CMYK | cmyk(64.2%, 63.4%, 0%, 51.8%) |
| CIE-LAB | lab(23.14, 25.28, -44.64) |
| CIE-LCH | lch(23.14, 51.30, 299.52°) |
| OKLab | oklab(34.77% 0.0152 -0.1284) |
| OKLCH | oklch(34.77% 0.129 276.8) |
| XYZ | xyz(5.5511, 3.8419, 19.1841) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 6.00
Blueberry
#464196
ΔE00 7.04
Royal
#0C1793
ΔE00 7.36
Sapphire (survey)
#2138AB
ΔE00 7.65
Marine
#042E60
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D7B #7B7A2C
analogous
#2C547B #2C2D7B #532C7B
triadic
#2C2D7B #7B2C2D #2D7B2C
tetradic
#2C2D7B #7B2C54 #7B7A2C #2C7B53
square
#2C2D7B #7B2C54 #7B7A2C #2C7B53
split-complementary
#2C2D7B #7B532C #547B2C
monochromatic
#0C0C21 #1C1D4E #2C2D7B #3C3DA8 #5D5EC5
Accessibility & contrast
On white
11.88
#2C2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2C2D7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D7B
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D7B | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c2d7b; /* rgb */ color: rgb(44, 45, 123); /* oklch */ color: oklch(34.8% 0.129 276.8);
Tailwind
colors: {
custom: {
50: '#6f66a2',
500: '#2c2d7b',
950: '#000000',
},
}SCSS
$custom: #2c2d7b; $custom-light: #6f66a2; $custom-dark: #000000;
JSON
{
"hex": "#2c2d7b",
"rgb": {
"r": 44,
"g": 45,
"b": 123
},
"hsl": {
"h": 239.241,
"s": 47.305,
"l": 32.745
},
"oklch": {
"l": 0.34769,
"c": 0.12935,
"h": 276.8
},
"luminance": 0.03842
}Semantic roles & 50–950 ramp
primary
#2C2D7B
secondary
#ABAA58
accent
#D551D7
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F