#2D268E#2D268E
#2D268E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.164 H 277.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2D268E |
|---|---|
| RGB | rgb(45, 38, 142) |
| HSL | hsl(244, 58%, 35%) |
| HSV | hsv(244, 73%, 56%) |
| CMYK | cmyk(68.3%, 73.2%, 0%, 44.3%) |
| CIE-LAB | lab(23.33, 36.58, -56.26) |
| CIE-LCH | lch(23.33, 67.11, 303.04°) |
| OKLab | oklab(35.47% 0.02 -0.1625) |
| OKLCH | oklch(35.47% 0.164 277) |
| XYZ | xyz(6.6562, 3.8965, 25.9873) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.02
Midnight Blue
#191970
ΔE00 5.55
Indigo Blue
#3A18B1
ΔE00 5.91
Cobalt Blue
#030AA7
ΔE00 6.16
Sapphire (survey)
#2138AB
ΔE00 6.42
Royal Blue (survey)
#0504AA
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D268E #878E26
analogous
#26538E #2D268E #61268E
triadic
#2D268E #8E2D26 #268E2D
tetradic
#2D268E #8E2653 #878E26 #268E61
square
#2D268E #8E2653 #878E26 #268E61
split-complementary
#2D268E #8E6126 #538E26
monochromatic
#0E0C2D #1E195E #2D268E #3C33BE #635BD3
Accessibility & contrast
On white
11.80
#2D268E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2D268E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D268E
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D268E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D268E | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2d268e; /* rgb */ color: rgb(45, 38, 142); /* oklch */ color: oklch(35.5% 0.164 277.0);
Tailwind
colors: {
custom: {
50: '#7462b0',
500: '#2d268e',
950: '#000000',
},
}SCSS
$custom: #2d268e; $custom-light: #7462b0; $custom-dark: #000000;
JSON
{
"hex": "#2d268e",
"rgb": {
"r": 45,
"g": 38,
"b": 142
},
"hsl": {
"h": 244.038,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.35466,
"c": 0.1637,
"h": 277
},
"luminance": 0.03897
}Semantic roles & 50–950 ramp
primary
#2D268E
secondary
#B2B858
accent
#E147D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980