#2A39AF#2A39AF
#2A39AF is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.186 H 270.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A39AF |
|---|---|
| RGB | rgb(42, 57, 175) |
| HSL | hsl(233, 61%, 43%) |
| HSV | hsv(233, 76%, 69%) |
| CMYK | cmyk(76%, 67.4%, 0%, 31.4%) |
| CIE-LAB | lab(30.67, 36.08, -64.28) |
| CIE-LCH | lch(30.67, 73.71, 299.31°) |
| OKLab | oklab(41.69% 0.0004 -0.186) |
| OKLCH | oklch(41.69% 0.186 270.1) |
| XYZ | xyz(10.1532, 6.5125, 41.2711) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.06
Blue Blue
#2242C7
ΔE00 3.99
Ocean Blue
#4F42B5
ΔE00 5.08
Blueberry
#464196
ΔE00 5.65
Blue With A Hint Of Purple
#533CC6
ΔE00 6.25
Cobalt
#0047AB
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A39AF #AFA02A
analogous
#2A7CAF #2A39AF #5D2AAF
triadic
#2A39AF #AF2A39 #39AF2A
tetradic
#2A39AF #AF2A7C #AFA02A #2AAF5D
square
#2A39AF #AF2A7C #AFA02A #2AAF5D
split-complementary
#2A39AF #AF5D2A #7CAF2A
monochromatic
#12194C #1E297E #2A39AF #4454D2 #7581DE
Accessibility & contrast
On white
9.12
#2A39AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2A39AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A39AF
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A39AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A39AF | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a39af; /* rgb */ color: rgb(42, 57, 175); /* oklch */ color: oklch(41.7% 0.186 270.1);
Tailwind
colors: {
custom: {
50: '#796fc8',
500: '#2a39af',
950: '#000000',
},
}SCSS
$custom: #2a39af; $custom-light: #796fc8; $custom-dark: #000000;
JSON
{
"hex": "#2a39af",
"rgb": {
"r": 42,
"g": 57,
"b": 175
},
"hsl": {
"h": 233.233,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.41688,
"c": 0.18598,
"h": 270.1
},
"luminance": 0.06514
}Semantic roles & 50–950 ramp
primary
#2A39AF
secondary
#C6BC6F
accent
#D243E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82