#2B349F#2B349F
#2B349F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.171 H 272.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2B349F |
|---|---|
| RGB | rgb(43, 52, 159) |
| HSL | hsl(235, 57%, 40%) |
| HSV | hsv(235, 73%, 62%) |
| CMYK | cmyk(73%, 67.3%, 0%, 37.6%) |
| CIE-LAB | lab(28.04, 33.60, -58.96) |
| CIE-LCH | lch(28.04, 67.86, 299.68°) |
| OKLab | oklab(39.33% 0.0059 -0.1704) |
| OKLCH | oklch(39.33% 0.171 272) |
| XYZ | xyz(8.4801, 5.4719, 33.4034) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.16
Blueberry
#464196
ΔE00 5.24
Darkslateblue
#483D8B
ΔE00 6.13
Ocean Blue
#4F42B5
ΔE00 6.48
Blue Blue
#2242C7
ΔE00 6.51
Indigo Blue
#3A18B1
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B349F #9F962B
analogous
#2B6E9F #2B349F #5C2B9F
triadic
#2B349F #9F2B34 #349F2B
tetradic
#2B349F #9F2B6E #9F962B #2B9F5C
square
#2B349F #9F2B6E #9F962B #2B9F5C
split-complementary
#2B349F #9F5C2B #6E9F2B
monochromatic
#11143F #1E246F #2B349F #3D48CA #6D75D7
Accessibility & contrast
On white
10.03
#2B349F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2B349F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B349F
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B349F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B349F | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b349f; /* rgb */ color: rgb(43, 52, 159); /* oklch */ color: oklch(39.3% 0.171 272.0);
Tailwind
colors: {
custom: {
50: '#766cbc',
500: '#2b349f',
950: '#000000',
},
}SCSS
$custom: #2b349f; $custom-light: #766cbc; $custom-dark: #000000;
JSON
{
"hex": "#2b349f",
"rgb": {
"r": 43,
"g": 52,
"b": 159
},
"hsl": {
"h": 235.345,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.39331,
"c": 0.17053,
"h": 272
},
"luminance": 0.05473
}Semantic roles & 50–950 ramp
primary
#2B349F
secondary
#BEB867
accent
#D547E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81