#2B2F9B#2B2F9B
#2B2F9B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.171 H 273.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F9B |
|---|---|
| RGB | rgb(43, 47, 155) |
| HSL | hsl(238, 57%, 39%) |
| HSV | hsv(238, 72%, 61%) |
| CMYK | cmyk(72.3%, 69.7%, 0%, 39.2%) |
| CIE-LAB | lab(26.48, 35.34, -59.08) |
| CIE-LCH | lch(26.48, 68.84, 300.89°) |
| OKLab | oklab(38.09% 0.0095 -0.1708) |
| OKLCH | oklch(38.09% 0.171 273.2) |
| XYZ | xyz(7.9272, 4.9124, 31.5344) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Royal
#0C1793
ΔE00 5.91
Blueberry
#464196
ΔE00 6.04
Indigo Blue
#3A18B1
ΔE00 6.16
Darkslateblue
#483D8B
ΔE00 6.44
Cobalt Blue
#030AA7
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F9B #9B972B
analogous
#2B679B #2B2F9B #5F2B9B
triadic
#2B2F9B #9B2B2F #2F9B2B
tetradic
#2B2F9B #9B2B67 #9B972B #2B9B5F
square
#2B2F9B #9B2B67 #9B972B #2B9B5F
split-complementary
#2B2F9B #9B5F2B #679B2B
monochromatic
#10123B #1E206B #2B2F9B #3B40C9 #6B6ED6
Accessibility & contrast
On white
10.59
#2B2F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2B2F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F9B
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F9B | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b2f9b; /* rgb */ color: rgb(43, 47, 155); /* oklch */ color: oklch(38.1% 0.171 273.2);
Tailwind
colors: {
custom: {
50: '#7568ba',
500: '#2b2f9b',
950: '#000000',
},
}SCSS
$custom: #2b2f9b; $custom-light: #7568ba; $custom-dark: #000000;
JSON
{
"hex": "#2b2f9b",
"rgb": {
"r": 43,
"g": 47,
"b": 155
},
"hsl": {
"h": 237.857,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.38087,
"c": 0.17106,
"h": 273.2
},
"luminance": 0.04913
}Semantic roles & 50–950 ramp
primary
#2B2F9B
secondary
#BCB965
accent
#DA48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81