#2D266E#2D266E
#2D266E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.120 H 281.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2D266E |
|---|---|
| RGB | rgb(45, 38, 110) |
| HSL | hsl(246, 49%, 29%) |
| HSV | hsv(246, 65%, 43%) |
| CMYK | cmyk(59.1%, 65.5%, 0%, 56.9%) |
| CIE-LAB | lab(20.32, 25.51, -40.90) |
| CIE-LCH | lch(20.32, 48.20, 301.95°) |
| OKLab | oklab(32.37% 0.0244 -0.1175) |
| OKLCH | oklch(32.37% 0.12 281.7) |
| XYZ | xyz(4.5889, 3.0696, 15.0995) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.27
Dark Indigo
#1F0954
ΔE00 7.70
Darkslateblue
#483D8B
ΔE00 7.74
Royal
#0C1793
ΔE00 7.86
Darkblue (survey)
#030764
ΔE00 8.11
Dark Royal Blue
#02066F
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D266E #676E26
analogous
#26436E #2D266E #51266E
triadic
#2D266E #6E2D26 #266E2D
tetradic
#2D266E #6E2643 #676E26 #266E51
square
#2D266E #6E2643 #676E26 #266E51
split-complementary
#2D266E #6E5126 #436E26
monochromatic
#090817 #1A1641 #2D266E #40369B #584DC1
Accessibility & contrast
On white
13.01
#2D266E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#2D266E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D266E
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D266E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D266E | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#0C3846
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2d266e; /* rgb */ color: rgb(45, 38, 110); /* oklch */ color: oklch(32.4% 0.120 281.7);
Tailwind
colors: {
custom: {
50: '#6d6198',
500: '#2d266e',
950: '#000000',
},
}SCSS
$custom: #2d266e; $custom-light: #6d6198; $custom-dark: #000000;
JSON
{
"hex": "#2d266e",
"rgb": {
"r": 45,
"g": 38,
"b": 110
},
"hsl": {
"h": 245.833,
"s": 48.649,
"l": 29.02
},
"oklch": {
"l": 0.32373,
"c": 0.11999,
"h": 281.7
},
"luminance": 0.0307
}Semantic roles & 50–950 ramp
primary
#2D266E
secondary
#99A14F
accent
#D850CB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E