#2B438A#2B438A
#2B438A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.122 H 266.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2B438A |
|---|---|
| RGB | rgb(43, 67, 138) |
| HSL | hsl(225, 52%, 35%) |
| HSV | hsv(225, 69%, 54%) |
| CMYK | cmyk(68.8%, 51.4%, 0%, 45.9%) |
| CIE-LAB | lab(30.31, 15.70, -42.41) |
| CIE-LCH | lch(30.31, 45.22, 290.32°) |
| OKLab | oklab(40.49% -0.0067 -0.1216) |
| OKLCH | oklch(40.49% 0.122 266.8) |
| XYZ | xyz(7.5893, 6.3622, 24.8679) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.99
Darkish Blue
#014182
ΔE00 4.48
Cobalt
#0047AB
ΔE00 5.14
Twilight Blue
#0A437A
ΔE00 5.30
Blueberry
#464196
ΔE00 5.78
Dusk Blue
#26538D
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B438A #8A722B
analogous
#2B728A #2B438A #422B8A
triadic
#2B438A #8A2B43 #438A2B
tetradic
#2B438A #8A2B72 #8A722B #2B8A42
square
#2B438A #8A2B72 #8A722B #2B8A42
split-complementary
#2B438A #8A422B #728A2B
monochromatic
#0E162D #1C2C5B #2B438A #3A5AB9 #617DCE
Accessibility & contrast
On white
9.24
#2B438A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2B438A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B438A
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B438A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B438A | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b438a; /* rgb */ color: rgb(43, 67, 138); /* oklch */ color: oklch(40.5% 0.122 266.8);
Tailwind
colors: {
custom: {
50: '#7076ad',
500: '#2b438a',
950: '#000000',
},
}SCSS
$custom: #2b438a; $custom-light: #7076ad; $custom-dark: #000000;
JSON
{
"hex": "#2b438a",
"rgb": {
"r": 43,
"g": 67,
"b": 138
},
"hsl": {
"h": 224.842,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.40487,
"c": 0.12183,
"h": 266.8
},
"luminance": 0.06363
}Semantic roles & 50–950 ramp
primary
#2B438A
secondary
#B49E5D
accent
#B84CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F