#2A438B#2A438B
#2A438B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.124 H 266.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2A438B |
|---|---|
| RGB | rgb(42, 67, 139) |
| HSL | hsl(225, 54%, 35%) |
| HSV | hsv(225, 70%, 55%) |
| CMYK | cmyk(69.8%, 51.8%, 0%, 45.5%) |
| CIE-LAB | lab(30.33, 15.92, -43.00) |
| CIE-LCH | lch(30.33, 45.85, 290.31°) |
| OKLab | oklab(40.51% -0.0076 -0.1234) |
| OKLCH | oklch(40.51% 0.124 266.5) |
| XYZ | xyz(7.6206, 6.3699, 25.2490) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.86
Darkish Blue
#014182
ΔE00 4.40
Cobalt
#0047AB
ΔE00 4.94
Twilight Blue
#0A437A
ΔE00 5.24
Blueberry
#464196
ΔE00 5.84
Dusk Blue
#26538D
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A438B #8B722A
analogous
#2A738B #2A438B #412A8B
triadic
#2A438B #8B2A43 #438B2A
tetradic
#2A438B #8B2A73 #8B722A #2A8B41
square
#2A438B #8B2A73 #8B722A #2A8B41
split-complementary
#2A438B #8B412A #738B2A
monochromatic
#0E162D #1C2C5C #2A438B #385ABA #607DCF
Accessibility & contrast
On white
9.23
#2A438B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2A438B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A438B
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A438B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A438B | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a438b; /* rgb */ color: rgb(42, 67, 139); /* oklch */ color: oklch(40.5% 0.124 266.5);
Tailwind
colors: {
custom: {
50: '#7076ad',
500: '#2a438b',
950: '#000000',
},
}SCSS
$custom: #2a438b; $custom-light: #7076ad; $custom-dark: #000000;
JSON
{
"hex": "#2a438b",
"rgb": {
"r": 42,
"g": 67,
"b": 139
},
"hsl": {
"h": 224.536,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.40509,
"c": 0.12364,
"h": 266.5
},
"luminance": 0.06371
}Semantic roles & 50–950 ramp
primary
#2A438B
secondary
#B59E5C
accent
#B74BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F