#2A279F#2A279F
#2A279F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.185 H 273.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A279F |
|---|---|
| RGB | rgb(42, 39, 159) |
| HSL | hsl(242, 61%, 39%) |
| HSV | hsv(242, 75%, 62%) |
| CMYK | cmyk(73.6%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(25.09, 41.41, -63.81) |
| CIE-LCH | lch(25.09, 76.07, 302.98°) |
| OKLab | oklab(37.2% 0.0122 -0.1846) |
| OKLCH | oklch(37.2% 0.185 273.8) |
| XYZ | xyz(7.9363, 4.4457, 33.2340) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.21
Royal
#0C1793
ΔE00 4.25
Sapphire (survey)
#2138AB
ΔE00 5.01
Cobalt Blue
#030AA7
ΔE00 5.24
Royal Blue (survey)
#0504AA
ΔE00 5.73
Ultramarine
#2000B1
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A279F #9C9F27
analogous
#27609F #2A279F #66279F
triadic
#2A279F #9F2A27 #279F2A
tetradic
#2A279F #9F2760 #9C9F27 #279F66
square
#2A279F #9F2760 #9C9F27 #279F66
split-complementary
#2A279F #9F6627 #609F27
monochromatic
#100F3D #1D1B6E #2A279F #3936CE #6A67DA
Accessibility & contrast
On white
11.12
#2A279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2A279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A279F
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A279F | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a279f; /* rgb */ color: rgb(42, 39, 159); /* oklch */ color: oklch(37.2% 0.185 273.8);
Tailwind
colors: {
custom: {
50: '#7763bd',
500: '#2a279f',
950: '#000000',
},
}SCSS
$custom: #2a279f; $custom-light: #7763bd; $custom-dark: #000000;
JSON
{
"hex": "#2a279f",
"rgb": {
"r": 42,
"g": 39,
"b": 159
},
"hsl": {
"h": 241.5,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.37198,
"c": 0.18499,
"h": 273.8
},
"luminance": 0.04446
}Semantic roles & 50–950 ramp
primary
#2A279F
secondary
#BDC062
accent
#E444E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81