#2B439F#2B439F
#2B439F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.152 H 268.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2B439F |
|---|---|
| RGB | rgb(43, 67, 159) |
| HSL | hsl(228, 57%, 40%) |
| HSV | hsv(228, 73%, 62%) |
| CMYK | cmyk(73%, 57.9%, 0%, 37.6%) |
| CIE-LAB | lab(31.88, 23.71, -52.69) |
| CIE-LCH | lch(31.88, 57.78, 294.22°) |
| OKLab | oklab(42.17% -0.0051 -0.1519) |
| OKLCH | oklch(42.17% 0.152 268.1) |
| XYZ | xyz(9.2593, 7.0301, 33.6631) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.50
Sapphire (survey)
#2138AB
ΔE00 4.02
Cobalt (survey)
#1E488F
ΔE00 4.37
Blueberry
#464196
ΔE00 4.85
Blue Blue
#2242C7
ΔE00 5.52
Sapphire
#0F52BA
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B439F #9F872B
analogous
#2B7D9F #2B439F #4D2B9F
triadic
#2B439F #9F2B43 #439F2B
tetradic
#2B439F #9F2B7D #9F872B #2B9F4D
square
#2B439F #9F2B7D #9F872B #2B9F4D
split-complementary
#2B439F #9F4D2B #7D9F2B
monochromatic
#111A3F #1E2F6F #2B439F #3D5ACA #6D83D7
Accessibility & contrast
On white
8.73
#2B439F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2B439F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B439F
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B439F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B439F | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2b439f; /* rgb */ color: rgb(43, 67, 159); /* oklch */ color: oklch(42.2% 0.152 268.1);
Tailwind
colors: {
custom: {
50: '#7576bc',
500: '#2b439f',
950: '#000000',
},
}SCSS
$custom: #2b439f; $custom-light: #7576bc; $custom-dark: #000000;
JSON
{
"hex": "#2b439f",
"rgb": {
"r": 43,
"g": 67,
"b": 159
},
"hsl": {
"h": 227.586,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.42166,
"c": 0.15198,
"h": 268.1
},
"luminance": 0.07031
}Semantic roles & 50–950 ramp
primary
#2B439F
secondary
#BEAC67
accent
#C147E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81