#2A238F#2A238F
#2A238F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.169 H 276.0°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2A238F |
|---|---|
| RGB | rgb(42, 35, 143) |
| HSL | hsl(244, 61%, 35%) |
| HSV | hsv(244, 76%, 56%) |
| CMYK | cmyk(70.6%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(22.57, 38.33, -58.13) |
| CIE-LCH | lch(22.57, 69.63, 303.40°) |
| OKLab | oklab(34.9% 0.0176 -0.168) |
| OKLCH | oklch(34.9% 0.169 276) |
| XYZ | xyz(6.5122, 3.6769, 26.3478) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.24
Midnight Blue
#191970
ΔE00 5.32
Cobalt Blue
#030AA7
ΔE00 5.42
Indigo Blue
#3A18B1
ΔE00 5.57
Royal Blue (survey)
#0504AA
ΔE00 5.97
Indigo (survey)
#380282
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A238F #888F23
analogous
#23528F #2A238F #60238F
triadic
#2A238F #8F2A23 #238F2A
tetradic
#2A238F #8F2352 #888F23 #238F60
square
#2A238F #8F2352 #888F23 #238F60
split-complementary
#2A238F #8F6023 #528F23
monochromatic
#0D0B2D #1C175E #2A238F #382FC0 #5F57D6
Accessibility & contrast
On white
12.10
#2A238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2A238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A238F
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A238F | 1.00 | 12.10 | 1.74 | 12.10 |
| #FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2a238f; /* rgb */ color: rgb(42, 35, 143); /* oklch */ color: oklch(34.9% 0.169 276.0);
Tailwind
colors: {
custom: {
50: '#7360b1',
500: '#2a238f',
950: '#000000',
},
}SCSS
$custom: #2a238f; $custom-light: #7360b1; $custom-dark: #000000;
JSON
{
"hex": "#2a238f",
"rgb": {
"r": 42,
"g": 35,
"b": 143
},
"hsl": {
"h": 243.889,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.34903,
"c": 0.16892,
"h": 276
},
"luminance": 0.03677
}Semantic roles & 50–950 ramp
primary
#2A238F
secondary
#B3BA54
accent
#E444D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980