#2B347F#2B347F
#2B347F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.126 H 273.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2B347F |
|---|---|
| RGB | rgb(43, 52, 127) |
| HSL | hsl(234, 49%, 33%) |
| HSV | hsv(234, 66%, 50%) |
| CMYK | cmyk(66.1%, 59.1%, 0%, 50.2%) |
| CIE-LAB | lab(25.26, 21.82, -43.72) |
| CIE-LCH | lch(25.26, 48.86, 296.52°) |
| OKLab | oklab(36.43% 0.0072 -0.1257) |
| OKLCH | oklch(36.43% 0.126 273.3) |
| XYZ | xyz(6.0537, 4.5014, 20.6244) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.36
Blueberry
#464196
ΔE00 5.87
Sapphire (survey)
#2138AB
ΔE00 6.66
Marine
#042E60
ΔE00 7.10
Midnight Blue
#191970
ΔE00 7.71
Marine Blue
#01386A
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B347F #7F762B
analogous
#2B5E7F #2B347F #4C2B7F
triadic
#2B347F #7F2B34 #347F2B
tetradic
#2B347F #7F2B5E #7F762B #2B7F4C
square
#2B347F #7F2B5E #7F762B #2B7F4C
split-complementary
#2B347F #7F4C2B #5E7F2B
monochromatic
#0C0F24 #1C2151 #2B347F #3A47AD #5C68C8
Accessibility & contrast
On white
11.05
#2B347F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2B347F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B347F
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B347F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B347F | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b347f; /* rgb */ color: rgb(43, 52, 127); /* oklch */ color: oklch(36.4% 0.126 273.3);
Tailwind
colors: {
custom: {
50: '#6e6ba5',
500: '#2b347f',
950: '#000000',
},
}SCSS
$custom: #2b347f; $custom-light: #6e6ba5; $custom-dark: #000000;
JSON
{
"hex": "#2b347f",
"rgb": {
"r": 43,
"g": 52,
"b": 127
},
"hsl": {
"h": 233.571,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.36427,
"c": 0.1259,
"h": 273.3
},
"luminance": 0.04502
}Semantic roles & 50–950 ramp
primary
#2B347F
secondary
#AEA558
accent
#CA4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F