#2B438B#2B438B
#2B438B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.123 H 266.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2B438B |
|---|---|
| RGB | rgb(43, 67, 139) |
| HSL | hsl(225, 53%, 36%) |
| HSV | hsv(225, 69%, 55%) |
| CMYK | cmyk(69.1%, 51.8%, 0%, 45.5%) |
| CIE-LAB | lab(30.38, 16.08, -42.91) |
| CIE-LCH | lch(30.38, 45.83, 290.55°) |
| OKLab | oklab(40.56% -0.0066 -0.1231) |
| OKLCH | oklch(40.56% 0.123 266.9) |
| XYZ | xyz(7.6620, 6.3912, 25.2509) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.00
Darkish Blue
#014182
ΔE00 4.55
Cobalt
#0047AB
ΔE00 5.03
Twilight Blue
#0A437A
ΔE00 5.38
Blueberry
#464196
ΔE00 5.69
Dusk Blue
#26538D
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B438B #8B732B
analogous
#2B738B #2B438B #432B8B
triadic
#2B438B #8B2B43 #438B2B
tetradic
#2B438B #8B2B73 #8B732B #2B8B43
square
#2B438B #8B2B73 #8B732B #2B8B43
split-complementary
#2B438B #8B432B #738B2B
monochromatic
#0E162E #1D2C5C #2B438B #395ABA #627DCE
Accessibility & contrast
On white
9.22
#2B438B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2B438B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B438B
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B438B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B438B | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b438b; /* rgb */ color: rgb(43, 67, 139); /* oklch */ color: oklch(40.6% 0.123 266.9);
Tailwind
colors: {
custom: {
50: '#7076ad',
500: '#2b438b',
950: '#000000',
},
}SCSS
$custom: #2b438b; $custom-light: #7076ad; $custom-dark: #000000;
JSON
{
"hex": "#2b438b",
"rgb": {
"r": 43,
"g": 67,
"b": 139
},
"hsl": {
"h": 225,
"s": 52.747,
"l": 35.686
},
"oklch": {
"l": 0.40563,
"c": 0.12331,
"h": 266.9
},
"luminance": 0.06392
}Semantic roles & 50–950 ramp
primary
#2B438B
secondary
#B59F5D
accent
#B84CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F