#2B438C#2B438C
#2B438C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.125 H 267.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2B438C |
|---|---|
| RGB | rgb(43, 67, 140) |
| HSL | hsl(225, 53%, 36%) |
| HSV | hsv(225, 69%, 55%) |
| CMYK | cmyk(69.3%, 52.1%, 0%, 45.1%) |
| CIE-LAB | lab(30.45, 16.47, -43.41) |
| CIE-LCH | lch(30.45, 46.43, 290.77°) |
| OKLab | oklab(40.64% -0.0065 -0.1246) |
| OKLCH | oklch(40.64% 0.125 267) |
| XYZ | xyz(7.7354, 6.4206, 25.6375) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.01
Darkish Blue
#014182
ΔE00 4.62
Cobalt
#0047AB
ΔE00 4.92
Twilight Blue
#0A437A
ΔE00 5.47
Blueberry
#464196
ΔE00 5.61
Sapphire (survey)
#2138AB
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B438C #8C742B
analogous
#2B738C #2B438C #442B8C
triadic
#2B438C #8C2B43 #438C2B
tetradic
#2B438C #8C2B73 #8C742B #2B8C44
square
#2B438C #8C2B73 #8C742B #2B8C44
split-complementary
#2B438C #8C442B #738C2B
monochromatic
#0E162E #1D2D5D #2B438C #3959BB #627DCF
Accessibility & contrast
On white
9.19
#2B438C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2B438C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B438C
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B438C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B438C | 1.00 | 9.19 | 2.28 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#184C8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b438c; /* rgb */ color: rgb(43, 67, 140); /* oklch */ color: oklch(40.6% 0.125 267.0);
Tailwind
colors: {
custom: {
50: '#7076ae',
500: '#2b438c',
950: '#000000',
},
}SCSS
$custom: #2b438c; $custom-light: #7076ae; $custom-dark: #000000;
JSON
{
"hex": "#2b438c",
"rgb": {
"r": 43,
"g": 67,
"b": 140
},
"hsl": {
"h": 225.155,
"s": 53.005,
"l": 35.882
},
"oklch": {
"l": 0.40639,
"c": 0.12478,
"h": 267
},
"luminance": 0.06421
}Semantic roles & 50–950 ramp
primary
#2B438C
secondary
#B59F5E
accent
#B94BDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F