#2B2FB5#2B2FB5
#2B2FB5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.8% C 0.204 H 271.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2FB5 |
|---|---|
| RGB | rgb(43, 47, 181) |
| HSL | hsl(238, 62%, 44%) |
| HSV | hsv(238, 76%, 71%) |
| CMYK | cmyk(76.2%, 74%, 0%, 29%) |
| CIE-LAB | lab(29.11, 44.32, -70.42) |
| CIE-LCH | lch(29.11, 83.20, 302.19°) |
| OKLab | oklab(40.76% 0.0057 -0.2038) |
| OKLCH | oklch(40.76% 0.204 271.6) |
| XYZ | xyz(10.3504, 5.8817, 44.2969) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.34
Indigo Blue
#3A18B1
ΔE00 4.84
True Blue
#010FCC
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.70
Blue With A Hint Of Purple
#533CC6
ΔE00 6.07
Ocean Blue
#4F42B5
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2FB5 #B5B12B
analogous
#2B74B5 #2B2FB5 #6C2BB5
triadic
#2B2FB5 #B52B2F #2FB52B
tetradic
#2B2FB5 #B52B74 #B5B12B #2BB56C
square
#2B2FB5 #B52B74 #B5B12B #2BB56C
split-complementary
#2B2FB5 #B56C2B #74B52B
monochromatic
#141552 #1F2284 #2B2FB5 #494DD4 #7B7EE0
Accessibility & contrast
On white
9.65
#2B2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2B2FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2FB5
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2FB5 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b2fb5; /* rgb */ color: rgb(43, 47, 181); /* oklch */ color: oklch(40.8% 0.204 271.6);
Tailwind
colors: {
custom: {
50: '#7c69cc',
500: '#2b2fb5',
950: '#000000',
},
}SCSS
$custom: #2b2fb5; $custom-light: #7c69cc; $custom-dark: #000000;
JSON
{
"hex": "#2b2fb5",
"rgb": {
"r": 43,
"g": 47,
"b": 181
},
"hsl": {
"h": 238.261,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.4076,
"c": 0.20393,
"h": 271.6
},
"luminance": 0.05883
}Semantic roles & 50–950 ramp
primary
#2B2FB5
secondary
#C8C574
accent
#E043E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82