#2D266F#2D266F
#2D266F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.121 H 281.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2D266F |
|---|---|
| RGB | rgb(45, 38, 111) |
| HSL | hsl(246, 49%, 29%) |
| HSV | hsv(246, 66%, 44%) |
| CMYK | cmyk(59.5%, 65.8%, 0%, 56.5%) |
| CIE-LAB | lab(20.41, 25.86, -41.41) |
| CIE-LCH | lch(20.41, 48.82, 301.99°) |
| OKLab | oklab(32.46% 0.0243 -0.119) |
| OKLCH | oklch(32.46% 0.121 281.6) |
| XYZ | xyz(4.6437, 3.0915, 15.3879) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.19
Darkslateblue
#483D8B
ΔE00 7.67
Royal
#0C1793
ΔE00 7.68
Dark Indigo
#1F0954
ΔE00 7.75
Darkblue (survey)
#030764
ΔE00 8.08
Dark Royal Blue
#02066F
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D266F #686F26
analogous
#26446F #2D266F #52266F
triadic
#2D266F #6F2D26 #266F2D
tetradic
#2D266F #6F2644 #686F26 #266F52
square
#2D266F #6F2644 #686F26 #266F52
split-complementary
#2D266F #6F5226 #446F26
monochromatic
#090817 #1B1641 #2D266F #3F369D #584DC2
Accessibility & contrast
On white
12.98
#2D266F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2D266F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D266F
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D266F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D266F | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#0A3846
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2d266f; /* rgb */ color: rgb(45, 38, 111); /* oklch */ color: oklch(32.5% 0.121 281.6);
Tailwind
colors: {
custom: {
50: '#6d6199',
500: '#2d266f',
950: '#000000',
},
}SCSS
$custom: #2d266f; $custom-light: #6d6199; $custom-dark: #000000;
JSON
{
"hex": "#2d266f",
"rgb": {
"r": 45,
"g": 38,
"b": 111
},
"hsl": {
"h": 245.753,
"s": 48.993,
"l": 29.216
},
"oklch": {
"l": 0.32463,
"c": 0.12143,
"h": 281.6
},
"luminance": 0.03092
}Semantic roles & 50–950 ramp
primary
#2D266F
secondary
#9AA24F
accent
#D94FCB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08050E
muted
#7B797E