#2B438E#2B438E
#2B438E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.128 H 267.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2B438E |
|---|---|
| RGB | rgb(43, 67, 142) |
| HSL | hsl(225, 54%, 36%) |
| HSV | hsv(225, 70%, 56%) |
| CMYK | cmyk(69.7%, 52.8%, 0%, 44.3%) |
| CIE-LAB | lab(30.59, 17.23, -44.41) |
| CIE-LCH | lch(30.59, 47.64, 291.20°) |
| OKLab | oklab(40.79% -0.0063 -0.1275) |
| OKLCH | oklch(40.79% 0.128 267.2) |
| XYZ | xyz(7.8842, 6.4801, 26.4212) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.06
Cobalt
#0047AB
ΔE00 4.70
Darkish Blue
#014182
ΔE00 4.76
Blueberry
#464196
ΔE00 5.45
Twilight Blue
#0A437A
ΔE00 5.65
Sapphire (survey)
#2138AB
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B438E #8E762B
analogous
#2B758E #2B438E #452B8E
triadic
#2B438E #8E2B43 #438E2B
tetradic
#2B438E #8E2B75 #8E762B #2B8E45
square
#2B438E #8E2B75 #8E762B #2B8E45
split-complementary
#2B438E #8E452B #758E2B
monochromatic
#0F1730 #1D2D5F #2B438E #3959BD #637ED0
Accessibility & contrast
On white
9.15
#2B438E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2B438E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B438E
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B438E | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b438e; /* rgb */ color: rgb(43, 67, 142); /* oklch */ color: oklch(40.8% 0.128 267.2);
Tailwind
colors: {
custom: {
50: '#7176b0',
500: '#2b438e',
950: '#000000',
},
}SCSS
$custom: #2b438e; $custom-light: #7176b0; $custom-dark: #000000;
JSON
{
"hex": "#2b438e",
"rgb": {
"r": 43,
"g": 67,
"b": 142
},
"hsl": {
"h": 225.455,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.40793,
"c": 0.1277,
"h": 267.2
},
"luminance": 0.06481
}Semantic roles & 50–950 ramp
primary
#2B438E
secondary
#B6A15F
accent
#BA4BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F