#2B2F9F#2B2F9F
#2B2F9F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.176 H 272.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F9F |
|---|---|
| RGB | rgb(43, 47, 159) |
| HSL | hsl(238, 57%, 40%) |
| HSV | hsv(238, 73%, 62%) |
| CMYK | cmyk(73%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(26.87, 36.75, -60.87) |
| CIE-LCH | lch(26.87, 71.10, 301.12°) |
| OKLab | oklab(38.49% 0.009 -0.176) |
| OKLCH | oklch(38.49% 0.176 272.9) |
| XYZ | xyz(8.2687, 5.0490, 33.3330) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.19
Indigo Blue
#3A18B1
ΔE00 5.80
Royal
#0C1793
ΔE00 5.99
Blueberry
#464196
ΔE00 6.17
Darkslateblue
#483D8B
ΔE00 6.71
Ocean Blue
#4F42B5
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F9F #9F9B2B
analogous
#2B699F #2B2F9F #612B9F
triadic
#2B2F9F #9F2B2F #2F9F2B
tetradic
#2B2F9F #9F2B69 #9F9B2B #2B9F61
square
#2B2F9F #9F2B69 #9F9B2B #2B9F61
split-complementary
#2B2F9F #9F612B #699F2B
monochromatic
#11133F #1E216F #2B2F9F #3D42CA #6D71D7
Accessibility & contrast
On white
10.45
#2B2F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2B2F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F9F
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F9F | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b2f9f; /* rgb */ color: rgb(43, 47, 159); /* oklch */ color: oklch(38.5% 0.176 272.9);
Tailwind
colors: {
custom: {
50: '#7668bc',
500: '#2b2f9f',
950: '#000000',
},
}SCSS
$custom: #2b2f9f; $custom-light: #7668bc; $custom-dark: #000000;
JSON
{
"hex": "#2b2f9f",
"rgb": {
"r": 43,
"g": 47,
"b": 159
},
"hsl": {
"h": 237.931,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.38487,
"c": 0.17627,
"h": 272.9
},
"luminance": 0.0505
}Semantic roles & 50–950 ramp
primary
#2B2F9F
secondary
#BEBB67
accent
#DB47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81