#2B2F8F#2B2F8F
#2B2F8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.155 H 274.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F8F |
|---|---|
| RGB | rgb(43, 47, 143) |
| HSL | hsl(238, 54%, 36%) |
| HSV | hsv(238, 70%, 56%) |
| CMYK | cmyk(69.9%, 67.1%, 0%, 43.9%) |
| CIE-LAB | lab(25.35, 31.05, -53.56) |
| CIE-LCH | lch(25.35, 61.91, 300.10°) |
| OKLab | oklab(36.92% 0.0108 -0.1546) |
| OKLCH | oklch(36.92% 0.155 274) |
| XYZ | xyz(6.9691, 4.5291, 26.4882) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.66
Darkslateblue
#483D8B
ΔE00 5.82
Blueberry
#464196
ΔE00 5.90
Royal
#0C1793
ΔE00 6.12
Midnight Blue
#191970
ΔE00 6.98
Indigo Blue
#3A18B1
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F8F #8F8B2B
analogous
#2B618F #2B2F8F #592B8F
triadic
#2B2F8F #8F2B2F #2F8F2B
tetradic
#2B2F8F #8F2B61 #8F8B2B #2B8F59
square
#2B2F8F #8F2B61 #8F8B2B #2B8F59
split-complementary
#2B2F8F #8F592B #618F2B
monochromatic
#0F1031 #1D2060 #2B2F8F #393EBE #6468D0
Accessibility & contrast
On white
11.02
#2B2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2B2F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F8F
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F8F | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b2f8f; /* rgb */ color: rgb(43, 47, 143); /* oklch */ color: oklch(36.9% 0.155 274.0);
Tailwind
colors: {
custom: {
50: '#7368b1',
500: '#2b2f8f',
950: '#000000',
},
}SCSS
$custom: #2b2f8f; $custom-light: #7368b1; $custom-dark: #000000;
JSON
{
"hex": "#2b2f8f",
"rgb": {
"r": 43,
"g": 47,
"b": 143
},
"hsl": {
"h": 237.6,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.36917,
"c": 0.15503,
"h": 274
},
"luminance": 0.0453
}Semantic roles & 50–950 ramp
primary
#2B2F8F
secondary
#B7B35F
accent
#D74BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80