#2B23A7#2B23A7
#2B23A7 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.198 H 273.9°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2B23A7 |
|---|---|
| RGB | rgb(43, 35, 167) |
| HSL | hsl(244, 65%, 40%) |
| HSV | hsv(244, 79%, 65%) |
| CMYK | cmyk(74.3%, 79%, 0%, 34.5%) |
| CIE-LAB | lab(25.27, 46.30, -68.36) |
| CIE-LCH | lch(25.27, 82.57, 304.11°) |
| OKLab | oklab(37.6% 0.0135 -0.1978) |
| OKLCH | oklch(37.6% 0.198 273.9) |
| XYZ | xyz(8.5700, 4.5048, 36.9696) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.84
Royal
#0C1793
ΔE00 4.34
Cobalt Blue
#030AA7
ΔE00 4.38
Ultramarine
#2000B1
ΔE00 4.58
Royal Blue (survey)
#0504AA
ΔE00 4.77
True Blue
#010FCC
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B23A7 #9FA723
analogous
#235DA7 #2B23A7 #6D23A7
triadic
#2B23A7 #A72B23 #23A72B
tetradic
#2B23A7 #A7235D #9FA723 #23A76D
square
#2B23A7 #A7235D #9FA723 #23A76D
split-complementary
#2B23A7 #A76D23 #5DA723
monochromatic
#110E42 #1E1874 #2B23A7 #3D33D4 #6D66DF
Accessibility & contrast
On white
11.05
#2B23A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2B23A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B23A7
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B23A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B23A7 | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b23a7; /* rgb */ color: rgb(43, 35, 167); /* oklch */ color: oklch(37.6% 0.198 273.9);
Tailwind
colors: {
custom: {
50: '#7961c2',
500: '#2b23a7',
950: '#000000',
},
}SCSS
$custom: #2b23a7; $custom-light: #7961c2; $custom-dark: #000000;
JSON
{
"hex": "#2b23a7",
"rgb": {
"r": 43,
"g": 35,
"b": 167
},
"hsl": {
"h": 243.636,
"s": 65.347,
"l": 39.608
},
"oklch": {
"l": 0.37602,
"c": 0.19822,
"h": 273.9
},
"luminance": 0.04506
}Semantic roles & 50–950 ramp
primary
#2B23A7
secondary
#BEC461
accent
#E83FDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982