#2A438A#2A438A
#2A438A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.122 H 266.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A438A |
|---|---|
| RGB | rgb(42, 67, 138) |
| HSL | hsl(224, 53%, 35%) |
| HSV | hsv(224, 70%, 54%) |
| CMYK | cmyk(69.6%, 51.4%, 0%, 45.9%) |
| CIE-LAB | lab(30.26, 15.53, -42.50) |
| CIE-LCH | lch(30.26, 45.25, 290.08°) |
| OKLab | oklab(40.43% -0.0077 -0.1219) |
| OKLCH | oklch(40.43% 0.122 266.4) |
| XYZ | xyz(7.5479, 6.3408, 24.8659) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.86
Darkish Blue
#014182
ΔE00 4.33
Cobalt
#0047AB
ΔE00 5.06
Twilight Blue
#0A437A
ΔE00 5.15
Blueberry
#464196
ΔE00 5.93
Dusk Blue
#26538D
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A438A #8A712A
analogous
#2A738A #2A438A #412A8A
triadic
#2A438A #8A2A43 #438A2A
tetradic
#2A438A #8A2A73 #8A712A #2A8A41
square
#2A438A #8A2A73 #8A712A #2A8A41
split-complementary
#2A438A #8A412A #738A2A
monochromatic
#0D152C #1C2C5B #2A438A #385AB9 #607DCF
Accessibility & contrast
On white
9.26
#2A438A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2A438A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A438A
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A438A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A438A | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a438a; /* rgb */ color: rgb(42, 67, 138); /* oklch */ color: oklch(40.4% 0.122 266.4);
Tailwind
colors: {
custom: {
50: '#6f76ad',
500: '#2a438a',
950: '#000000',
},
}SCSS
$custom: #2a438a; $custom-light: #6f76ad; $custom-dark: #000000;
JSON
{
"hex": "#2a438a",
"rgb": {
"r": 42,
"g": 67,
"b": 138
},
"hsl": {
"h": 224.375,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.40433,
"c": 0.12217,
"h": 266.4
},
"luminance": 0.06342
}Semantic roles & 50–950 ramp
primary
#2A438A
secondary
#B49D5B
accent
#B74BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F