#2B2B90#2B2B90
#2B2B90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.161 H 274.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B90 |
|---|---|
| RGB | rgb(43, 43, 144) |
| HSL | hsl(240, 54%, 37%) |
| HSV | hsv(240, 70%, 56%) |
| CMYK | cmyk(70.1%, 70.1%, 0%, 43.5%) |
| CIE-LAB | lab(24.49, 33.96, -55.58) |
| CIE-LCH | lch(24.49, 65.13, 301.42°) |
| OKLab | oklab(36.33% 0.0136 -0.1606) |
| OKLCH | oklch(36.33% 0.161 274.8) |
| XYZ | xyz(6.8925, 4.2543, 26.8381) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.01
Sapphire (survey)
#2138AB
ΔE00 5.21
Midnight Blue
#191970
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 6.52
Indigo Blue
#3A18B1
ΔE00 6.55
Blueberry
#464196
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B90 #90902B
analogous
#2B5E90 #2B2B90 #5E2B90
triadic
#2B2B90 #902B2B #2B902B
tetradic
#2B2B90 #902B5E #90902B #2B905E
square
#2B2B90 #902B5E #90902B #2B905E
split-complementary
#2B2B90 #905E2B #5E902B
monochromatic
#0F0F32 #1D1D61 #2B2B90 #3939BF #6565D1
Accessibility & contrast
On white
11.35
#2B2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2B2B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B90
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B90 | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b2b90; /* rgb */ color: rgb(43, 43, 144); /* oklch */ color: oklch(36.3% 0.161 274.8);
Tailwind
colors: {
custom: {
50: '#7365b2',
500: '#2b2b90',
950: '#000000',
},
}SCSS
$custom: #2b2b90; $custom-light: #7365b2; $custom-dark: #000000;
JSON
{
"hex": "#2b2b90",
"rgb": {
"r": 43,
"g": 43,
"b": 144
},
"hsl": {
"h": 240,
"s": 54.011,
"l": 36.667
},
"oklch": {
"l": 0.36327,
"c": 0.16114,
"h": 274.8
},
"luminance": 0.04255
}Semantic roles & 50–950 ramp
primary
#2B2B90
secondary
#B7B760
accent
#DD4ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80