#2B27A9#2B27A9
#2B27A9 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.197 H 273.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2B27A9 |
|---|---|
| RGB | rgb(43, 39, 169) |
| HSL | hsl(242, 63%, 41%) |
| HSV | hsv(242, 77%, 66%) |
| CMYK | cmyk(74.6%, 76.9%, 0%, 33.7%) |
| CIE-LAB | lab(26.24, 44.82, -67.97) |
| CIE-LCH | lch(26.24, 81.42, 303.40°) |
| OKLab | oklab(38.35% 0.0114 -0.1967) |
| OKLCH | oklch(38.35% 0.197 273.3) |
| XYZ | xyz(8.8808, 4.8283, 37.9923) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.38
Sapphire (survey)
#2138AB
ΔE00 4.82
Royal
#0C1793
ΔE00 5.04
True Blue
#010FCC
ΔE00 5.20
Cobalt Blue
#030AA7
ΔE00 5.20
Ultramarine
#2000B1
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B27A9 #A5A927
analogous
#2764A9 #2B27A9 #6C27A9
triadic
#2B27A9 #A92B27 #27A92B
tetradic
#2B27A9 #A92764 #A5A927 #27A96C
square
#2B27A9 #A92764 #A5A927 #27A96C
split-complementary
#2B27A9 #A96C27 #64A927
monochromatic
#121046 #1E1C77 #2B27A9 #403BD2 #716DDD
Accessibility & contrast
On white
10.68
#2B27A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2B27A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B27A9
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B27A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B27A9 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b27a9; /* rgb */ color: rgb(43, 39, 169); /* oklch */ color: oklch(38.3% 0.197 273.3);
Tailwind
colors: {
custom: {
50: '#7963c4',
500: '#2b27a9',
950: '#000000',
},
}SCSS
$custom: #2b27a9; $custom-light: #7963c4; $custom-dark: #000000;
JSON
{
"hex": "#2b27a9",
"rgb": {
"r": 43,
"g": 39,
"b": 169
},
"hsl": {
"h": 241.846,
"s": 62.5,
"l": 40.784
},
"oklch": {
"l": 0.38345,
"c": 0.19701,
"h": 273.3
},
"luminance": 0.04829
}Semantic roles & 50–950 ramp
primary
#2B27A9
secondary
#C1C468
accent
#E642E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82