#2B308B#2B308B
#2B308B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.148 H 274.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2B308B |
|---|---|
| RGB | rgb(43, 48, 139) |
| HSL | hsl(237, 53%, 36%) |
| HSV | hsv(237, 69%, 55%) |
| CMYK | cmyk(69.1%, 65.5%, 0%, 45.5%) |
| CIE-LAB | lab(25.23, 28.94, -51.27) |
| CIE-LCH | lch(25.23, 58.87, 299.44°) |
| OKLab | oklab(36.72% 0.0104 -0.1479) |
| OKLCH | oklch(36.72% 0.148 274) |
| XYZ | xyz(6.7119, 4.4910, 24.9342) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 5.56
Blueberry
#464196
ΔE00 5.77
Royal
#0C1793
ΔE00 6.62
Midnight Blue
#191970
ΔE00 6.92
Indigo Blue
#3A18B1
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B308B #8B862B
analogous
#2B608B #2B308B #562B8B
triadic
#2B308B #8B2B30 #308B2B
tetradic
#2B308B #8B2B60 #8B862B #2B8B56
square
#2B308B #8B2B60 #8B862B #2B8B56
split-complementary
#2B308B #8B562B #608B2B
monochromatic
#0E102E #1D205C #2B308B #3940BA #6268CE
Accessibility & contrast
On white
11.06
#2B308B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2B308B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B308B
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B308B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B308B | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b308b; /* rgb */ color: rgb(43, 48, 139); /* oklch */ color: oklch(36.7% 0.148 274.0);
Tailwind
colors: {
custom: {
50: '#7168ae',
500: '#2b308b',
950: '#000000',
},
}SCSS
$custom: #2b308b; $custom-light: #7168ae; $custom-dark: #000000;
JSON
{
"hex": "#2b308b",
"rgb": {
"r": 43,
"g": 48,
"b": 139
},
"hsl": {
"h": 236.875,
"s": 52.747,
"l": 35.686
},
"oklch": {
"l": 0.3672,
"c": 0.14829,
"h": 274
},
"luminance": 0.04492
}Semantic roles & 50–950 ramp
primary
#2B308B
secondary
#B5B05D
accent
#D54CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F