#2B308C#2B308C
#2B308C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.150 H 273.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2B308C |
|---|---|
| RGB | rgb(43, 48, 140) |
| HSL | hsl(237, 53%, 36%) |
| HSV | hsv(237, 69%, 55%) |
| CMYK | cmyk(69.3%, 65.7%, 0%, 45.1%) |
| CIE-LAB | lab(25.32, 29.31, -51.75) |
| CIE-LCH | lch(25.32, 59.47, 299.53°) |
| OKLab | oklab(36.81% 0.0103 -0.1493) |
| OKLCH | oklch(36.81% 0.15 273.9) |
| XYZ | xyz(6.7853, 4.5203, 25.3208) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.91
Darkslateblue
#483D8B
ΔE00 5.59
Blueberry
#464196
ΔE00 5.75
Royal
#0C1793
ΔE00 6.56
Midnight Blue
#191970
ΔE00 6.98
Indigo Blue
#3A18B1
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B308C #8C872B
analogous
#2B608C #2B308C #562B8C
triadic
#2B308C #8C2B30 #308C2B
tetradic
#2B308C #8C2B60 #8C872B #2B8C56
square
#2B308C #8C2B60 #8C872B #2B8C56
split-complementary
#2B308C #8C562B #608C2B
monochromatic
#0E102E #1D205D #2B308C #3940BB #6268CF
Accessibility & contrast
On white
11.03
#2B308C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2B308C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B308C
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B308C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B308C | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b308c; /* rgb */ color: rgb(43, 48, 140); /* oklch */ color: oklch(36.8% 0.150 273.9);
Tailwind
colors: {
custom: {
50: '#7268ae',
500: '#2b308c',
950: '#000000',
},
}SCSS
$custom: #2b308c; $custom-light: #7268ae; $custom-dark: #000000;
JSON
{
"hex": "#2b308c",
"rgb": {
"r": 43,
"g": 48,
"b": 140
},
"hsl": {
"h": 236.907,
"s": 53.005,
"l": 35.882
},
"oklch": {
"l": 0.36813,
"c": 0.14968,
"h": 273.9
},
"luminance": 0.04521
}Semantic roles & 50–950 ramp
primary
#2B308C
secondary
#B5B15E
accent
#D54BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F