#2A3E85#2A3E85
#2A3E85 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.121 H 268.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3E85 |
|---|---|
| RGB | rgb(42, 62, 133) |
| HSL | hsl(227, 52%, 34%) |
| HSV | hsv(227, 68%, 52%) |
| CMYK | cmyk(68.4%, 53.4%, 0%, 47.8%) |
| CIE-LAB | lab(28.46, 17.04, -42.30) |
| CIE-LCH | lch(28.46, 45.60, 291.94°) |
| OKLab | oklab(38.96% -0.0034 -0.1214) |
| OKLCH | oklch(38.96% 0.121 268.4) |
| XYZ | xyz(6.9097, 5.6303, 22.9084) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.48
Darkish Blue
#014182
ΔE00 5.05
Blueberry
#464196
ΔE00 5.57
Twilight Blue
#0A437A
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 6.12
Cobalt
#0047AB
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3E85 #85712A
analogous
#2A6C85 #2A3E85 #442A85
triadic
#2A3E85 #852A3E #3E852A
tetradic
#2A3E85 #852A6C #85712A #2A8544
square
#2A3E85 #852A6C #85712A #2A8544
split-complementary
#2A3E85 #85442A #6C852A
monochromatic
#0D1328 #1B2856 #2A3E85 #3954B4 #5D76CC
Accessibility & contrast
On white
9.88
#2A3E85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2A3E85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3E85
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3E85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3E85 | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124788
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a3e85; /* rgb */ color: rgb(42, 62, 133); /* oklch */ color: oklch(39.0% 0.121 268.4);
Tailwind
colors: {
custom: {
50: '#6f72a9',
500: '#2a3e85',
950: '#000000',
},
}SCSS
$custom: #2a3e85; $custom-light: #6f72a9; $custom-dark: #000000;
JSON
{
"hex": "#2a3e85",
"rgb": {
"r": 42,
"g": 62,
"b": 133
},
"hsl": {
"h": 226.813,
"s": 52,
"l": 34.314
},
"oklch": {
"l": 0.38956,
"c": 0.12147,
"h": 268.4
},
"luminance": 0.05631
}Semantic roles & 50–950 ramp
primary
#2A3E85
secondary
#B29E59
accent
#BC4CDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F