#2B2B6D#2B2B6D
#2B2B6D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.1% C 0.112 H 278.4°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B6D |
|---|---|
| RGB | rgb(43, 43, 109) |
| HSL | hsl(240, 43%, 30%) |
| HSV | hsv(240, 61%, 43%) |
| CMYK | cmyk(60.6%, 60.6%, 0%, 57.3%) |
| CIE-LAB | lab(21.38, 21.36, -38.55) |
| CIE-LCH | lch(21.38, 44.07, 299.00°) |
| OKLab | oklab(33.08% 0.0163 -0.1106) |
| OKLCH | oklch(33.08% 0.112 278.4) |
| XYZ | xyz(4.6196, 3.3452, 14.8673) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.68
Marine
#042E60
ΔE00 7.20
Darkslateblue
#483D8B
ΔE00 7.26
Navy Blue
#1B2A4A
ΔE00 7.98
Blueberry
#464196
ΔE00 8.70
Royal
#0C1793
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B6D #6D6D2B
analogous
#2B4C6D #2B2B6D #4C2B6D
triadic
#2B2B6D #6D2B2B #2B6D2B
tetradic
#2B2B6D #6D2B4C #6D6D2B #2B6D4C
square
#2B2B6D #6D2B4C #6D6D2B #2B6D4C
split-complementary
#2B2B6D #6D4C2B #4C6D2B
monochromatic
#090916 #1A1A41 #2B2B6D #3C3C99 #5656BC
Accessibility & contrast
On white
12.58
#2B2B6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2B2B6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B6D
12.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B6D | 1.00 | 12.58 | 1.67 | 12.58 |
| #FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#043B47
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b2b6d; /* rgb */ color: rgb(43, 43, 109); /* oklch */ color: oklch(33.1% 0.112 278.4);
Tailwind
colors: {
custom: {
50: '#6b6497',
500: '#2b2b6d',
950: '#000000',
},
}SCSS
$custom: #2b2b6d; $custom-light: #6b6497; $custom-dark: #000000;
JSON
{
"hex": "#2b2b6d",
"rgb": {
"r": 43,
"g": 43,
"b": 109
},
"hsl": {
"h": 240,
"s": 43.421,
"l": 29.804
},
"oklch": {
"l": 0.33082,
"c": 0.11178,
"h": 278.4
},
"luminance": 0.03345
}Semantic roles & 50–950 ramp
primary
#2B2B6D
secondary
#9F9F55
accent
#D355D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050D
muted
#7A7A7E