#2A39B0#2A39B0
#2A39B0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.187 H 270.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2A39B0 |
|---|---|
| RGB | rgb(42, 57, 176) |
| HSL | hsl(233, 61%, 43%) |
| HSV | hsv(233, 76%, 69%) |
| CMYK | cmyk(76.1%, 67.6%, 0%, 31%) |
| CIE-LAB | lab(30.76, 36.44, -64.72) |
| CIE-LCH | lch(30.76, 74.27, 299.38°) |
| OKLab | oklab(41.79% 0.0003 -0.1873) |
| OKLCH | oklch(41.79% 0.187 270.1) |
| XYZ | xyz(10.2518, 6.5520, 41.7902) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.16
Blue Blue
#2242C7
ΔE00 3.90
Ocean Blue
#4F42B5
ΔE00 5.04
Blueberry
#464196
ΔE00 5.73
Blue With A Hint Of Purple
#533CC6
ΔE00 6.15
Cobalt
#0047AB
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A39B0 #B0A12A
analogous
#2A7CB0 #2A39B0 #5E2AB0
triadic
#2A39B0 #B02A39 #39B02A
tetradic
#2A39B0 #B02A7C #B0A12A #2AB05E
square
#2A39B0 #B02A7C #B0A12A #2AB05E
split-complementary
#2A39B0 #B05E2A #7CB02A
monochromatic
#12194D #1E297F #2A39B0 #4555D3 #7682DE
Accessibility & contrast
On white
9.09
#2A39B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2A39B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A39B0
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A39B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A39B0 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a39b0; /* rgb */ color: rgb(42, 57, 176); /* oklch */ color: oklch(41.8% 0.187 270.1);
Tailwind
colors: {
custom: {
50: '#796fc9',
500: '#2a39b0',
950: '#000000',
},
}SCSS
$custom: #2a39b0; $custom-light: #796fc9; $custom-dark: #000000;
JSON
{
"hex": "#2a39b0",
"rgb": {
"r": 42,
"g": 57,
"b": 176
},
"hsl": {
"h": 233.284,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.41785,
"c": 0.18727,
"h": 270.1
},
"luminance": 0.06553
}Semantic roles & 50–950 ramp
primary
#2A39B0
secondary
#C6BC70
accent
#D343E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82