#2D27B6#2D27B6
#2D27B6 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.212 H 273.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2D27B6 |
|---|---|
| RGB | rgb(45, 39, 182) |
| HSL | hsl(243, 65%, 43%) |
| HSV | hsv(243, 79%, 71%) |
| CMYK | cmyk(75.3%, 78.6%, 0%, 28.6%) |
| CIE-LAB | lab(27.81, 49.16, -73.17) |
| CIE-LCH | lch(27.81, 88.15, 303.90°) |
| OKLab | oklab(39.9% 0.011 -0.2117) |
| OKLCH | oklch(39.9% 0.212 273) |
| XYZ | xyz(10.2484, 5.3853, 44.7462) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.06
True Blue
#010FCC
ΔE00 4.13
Mediumblue
#0000CD
ΔE00 5.04
Sapphire (survey)
#2138AB
ΔE00 5.09
Ultramarine Blue
#1805DB
ΔE00 5.21
Ultramarine
#2000B1
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D27B6 #B0B627
analogous
#2769B6 #2D27B6 #7427B6
triadic
#2D27B6 #B62D27 #27B62D
tetradic
#2D27B6 #B62769 #B0B627 #27B674
square
#2D27B6 #B62769 #B0B627 #27B674
split-complementary
#2D27B6 #B67427 #69B627
monochromatic
#141151 #211C84 #2D27B6 #4A43D7 #7A76E2
Accessibility & contrast
On white
10.11
#2D27B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2D27B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D27B6
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D27B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D27B6 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048BA
Deuteranopia (green-blind)
#003BB4
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2d27b6; /* rgb */ color: rgb(45, 39, 182); /* oklch */ color: oklch(39.9% 0.212 273.0);
Tailwind
colors: {
custom: {
50: '#7d64cd',
500: '#2d27b6',
950: '#000000',
},
}SCSS
$custom: #2d27b6; $custom-light: #7d64cd; $custom-dark: #000000;
JSON
{
"hex": "#2d27b6",
"rgb": {
"r": 45,
"g": 39,
"b": 182
},
"hsl": {
"h": 242.517,
"s": 64.706,
"l": 43.333
},
"oklch": {
"l": 0.39901,
"c": 0.21201,
"h": 273
},
"luminance": 0.05386
}Semantic roles & 50–950 ramp
primary
#2D27B6
secondary
#C5C970
accent
#E840E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82