#2B438F#2B438F
#2B438F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.129 H 267.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2B438F |
|---|---|
| RGB | rgb(43, 67, 143) |
| HSL | hsl(226, 54%, 36%) |
| HSV | hsv(226, 70%, 56%) |
| CMYK | cmyk(69.9%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(30.66, 17.61, -44.91) |
| CIE-LCH | lch(30.66, 48.24, 291.41°) |
| OKLab | oklab(40.87% -0.0062 -0.129) |
| OKLCH | oklch(40.87% 0.129 267.3) |
| XYZ | xyz(7.9596, 6.5103, 26.8184) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.10
Cobalt
#0047AB
ΔE00 4.60
Darkish Blue
#014182
ΔE00 4.84
Blueberry
#464196
ΔE00 5.38
Twilight Blue
#0A437A
ΔE00 5.74
Sapphire (survey)
#2138AB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B438F #8F772B
analogous
#2B758F #2B438F #452B8F
triadic
#2B438F #8F2B43 #438F2B
tetradic
#2B438F #8F2B75 #8F772B #2B8F45
square
#2B438F #8F2B75 #8F772B #2B8F45
split-complementary
#2B438F #8F452B #758F2B
monochromatic
#0F1731 #1D2D60 #2B438F #3959BE #647ED0
Accessibility & contrast
On white
9.12
#2B438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2B438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B438F
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B438F | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134D92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b438f; /* rgb */ color: rgb(43, 67, 143); /* oklch */ color: oklch(40.9% 0.129 267.3);
Tailwind
colors: {
custom: {
50: '#7176b0',
500: '#2b438f',
950: '#000000',
},
}SCSS
$custom: #2b438f; $custom-light: #7176b0; $custom-dark: #000000;
JSON
{
"hex": "#2b438f",
"rgb": {
"r": 43,
"g": 67,
"b": 143
},
"hsl": {
"h": 225.6,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.40871,
"c": 0.12916,
"h": 267.3
},
"luminance": 0.06511
}Semantic roles & 50–950 ramp
primary
#2B438F
secondary
#B7A25F
accent
#BA4BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F