#2B239E#2B239E
#2B239E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.187 H 274.8°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2B239E |
|---|---|
| RGB | rgb(43, 35, 158) |
| HSL | hsl(244, 64%, 38%) |
| HSV | hsv(244, 78%, 62%) |
| CMYK | cmyk(72.8%, 77.8%, 0%, 38%) |
| CIE-LAB | lab(24.27, 43.40, -64.56) |
| CIE-LCH | lch(24.27, 77.79, 303.91°) |
| OKLab | oklab(36.6% 0.0156 -0.1867) |
| OKLCH | oklch(36.6% 0.187 274.8) |
| XYZ | xyz(7.7668, 4.1835, 32.7393) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.60
Indigo Blue
#3A18B1
ΔE00 3.67
Cobalt Blue
#030AA7
ΔE00 4.46
Royal Blue (survey)
#0504AA
ΔE00 4.94
Ultramarine
#2000B1
ΔE00 5.03
Sapphire (survey)
#2138AB
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B239E #969E23
analogous
#23599E #2B239E #68239E
triadic
#2B239E #9E2B23 #239E2B
tetradic
#2B239E #9E2359 #969E23 #239E68
square
#2B239E #9E2359 #969E23 #239E68
split-complementary
#2B239E #9E6823 #599E23
monochromatic
#100D3A #1D186C #2B239E #392ED0 #6860DC
Accessibility & contrast
On white
11.43
#2B239E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2B239E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B239E
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B239E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B239E | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b239e; /* rgb */ color: rgb(43, 35, 158); /* oklch */ color: oklch(36.6% 0.187 274.8);
Tailwind
colors: {
custom: {
50: '#7760bc',
500: '#2b239e',
950: '#000000',
},
}SCSS
$custom: #2b239e; $custom-light: #7760bc; $custom-dark: #000000;
JSON
{
"hex": "#2b239e",
"rgb": {
"r": 43,
"g": 35,
"b": 158
},
"hsl": {
"h": 243.902,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.36601,
"c": 0.18736,
"h": 274.8
},
"luminance": 0.04184
}Semantic roles & 50–950 ramp
primary
#2B239E
secondary
#BAC15C
accent
#E741DC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981