#2A438F#2A438F
#2A438F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.129 H 266.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2A438F |
|---|---|
| RGB | rgb(42, 67, 143) |
| HSL | hsl(225, 55%, 36%) |
| HSV | hsv(225, 71%, 56%) |
| CMYK | cmyk(70.6%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(30.61, 17.45, -45.00) |
| CIE-LCH | lch(30.61, 48.26, 291.20°) |
| OKLab | oklab(40.82% -0.0071 -0.1293) |
| OKLCH | oklch(40.82% 0.129 266.8) |
| XYZ | xyz(7.9182, 6.4889, 26.8165) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.97
Cobalt
#0047AB
ΔE00 4.51
Darkish Blue
#014182
ΔE00 4.70
Blueberry
#464196
ΔE00 5.53
Twilight Blue
#0A437A
ΔE00 5.61
Sapphire (survey)
#2138AB
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A438F #8F762A
analogous
#2A768F #2A438F #442A8F
triadic
#2A438F #8F2A43 #438F2A
tetradic
#2A438F #8F2A76 #8F762A #2A8F44
square
#2A438F #8F2A76 #8F762A #2A8F44
split-complementary
#2A438F #8F442A #768F2A
monochromatic
#0E1730 #1C2D60 #2A438F #3859BE #627ED1
Accessibility & contrast
On white
9.14
#2A438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2A438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A438F
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A438F | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134D92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a438f; /* rgb */ color: rgb(42, 67, 143); /* oklch */ color: oklch(40.8% 0.129 266.8);
Tailwind
colors: {
custom: {
50: '#7176b0',
500: '#2a438f',
950: '#000000',
},
}SCSS
$custom: #2a438f; $custom-light: #7176b0; $custom-dark: #000000;
JSON
{
"hex": "#2a438f",
"rgb": {
"r": 42,
"g": 67,
"b": 143
},
"hsl": {
"h": 225.149,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.40819,
"c": 0.12949,
"h": 266.8
},
"luminance": 0.0649
}Semantic roles & 50–950 ramp
primary
#2A438F
secondary
#B7A15E
accent
#B94ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80