#2B2F85#2B2F85
#2B2F85 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.141 H 274.7°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F85 |
|---|---|
| RGB | rgb(43, 47, 133) |
| HSL | hsl(237, 51%, 35%) |
| HSV | hsv(237, 68%, 52%) |
| CMYK | cmyk(67.7%, 64.7%, 0%, 47.8%) |
| CIE-LAB | lab(24.45, 27.42, -48.81) |
| CIE-LCH | lch(24.45, 55.98, 299.32°) |
| OKLab | oklab(35.98% 0.0116 -0.1407) |
| OKLCH | oklch(35.98% 0.141 274.7) |
| XYZ | xyz(6.2450, 4.2395, 22.6750) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.63
Sapphire (survey)
#2138AB
ΔE00 5.97
Blueberry
#464196
ΔE00 6.16
Midnight Blue
#191970
ΔE00 6.35
Royal
#0C1793
ΔE00 6.79
Marine
#042E60
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F85 #85812B
analogous
#2B5C85 #2B2F85 #542B85
triadic
#2B2F85 #852B2F #2F852B
tetradic
#2B2F85 #852B5C #85812B #2B8554
square
#2B2F85 #852B5C #85812B #2B8554
split-complementary
#2B2F85 #85542B #5C852B
monochromatic
#0D0E29 #1C1F57 #2B2F85 #3A3FB3 #5F64CB
Accessibility & contrast
On white
11.36
#2B2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2B2F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F85
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F85 | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b2f85; /* rgb */ color: rgb(43, 47, 133); /* oklch */ color: oklch(36.0% 0.141 274.7);
Tailwind
colors: {
custom: {
50: '#7067a9',
500: '#2b2f85',
950: '#000000',
},
}SCSS
$custom: #2b2f85; $custom-light: #7067a9; $custom-dark: #000000;
JSON
{
"hex": "#2b2f85",
"rgb": {
"r": 43,
"g": 47,
"b": 133
},
"hsl": {
"h": 237.333,
"s": 51.136,
"l": 34.51
},
"oklch": {
"l": 0.3598,
"c": 0.1412,
"h": 274.7
},
"luminance": 0.0424
}Semantic roles & 50–950 ramp
primary
#2B2F85
secondary
#B1AD5B
accent
#D44DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F