#272CA6#272CA6
#272CA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.189 H 271.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #272CA6 |
|---|---|
| RGB | rgb(39, 44, 166) |
| HSL | hsl(238, 62%, 40%) |
| HSV | hsv(238, 77%, 65%) |
| CMYK | cmyk(76.5%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(26.69, 40.61, -65.42) |
| CIE-LCH | lch(26.69, 77.00, 301.83°) |
| OKLab | oklab(38.51% 0.005 -0.1894) |
| OKLCH | oklch(38.51% 0.189 271.5) |
| XYZ | xyz(8.6180, 4.9849, 36.5770) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.53
Indigo Blue
#3A18B1
ΔE00 4.81
Royal
#0C1793
ΔE00 5.56
Cobalt Blue
#030AA7
ΔE00 6.27
True Blue
#010FCC
ΔE00 6.29
Ultramarine
#2000B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272CA6 #A6A127
analogous
#276BA6 #272CA6 #6227A6
triadic
#272CA6 #A6272C #2CA627
tetradic
#272CA6 #A6276B #A6A127 #27A662
square
#272CA6 #A6276B #A6A127 #27A662
split-complementary
#272CA6 #A66227 #6BA627
monochromatic
#101243 #1B1F74 #272CA6 #3A40D1 #6B70DC
Accessibility & contrast
On white
10.51
#272CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#272CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272CA6
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272CA6 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #272ca6; /* rgb */ color: rgb(39, 44, 166); /* oklch */ color: oklch(38.5% 0.189 271.5);
Tailwind
colors: {
custom: {
50: '#7766c2',
500: '#272ca6',
950: '#000000',
},
}SCSS
$custom: #272ca6; $custom-light: #7766c2; $custom-dark: #000000;
JSON
{
"hex": "#272ca6",
"rgb": {
"r": 39,
"g": 44,
"b": 166
},
"hsl": {
"h": 237.638,
"s": 61.951,
"l": 40.196
},
"oklch": {
"l": 0.38507,
"c": 0.18946,
"h": 271.5
},
"luminance": 0.04986
}Semantic roles & 50–950 ramp
primary
#272CA6
secondary
#C3BF66
accent
#DF43E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81