#272BA6#272BA6
#272BA6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.190 H 271.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #272BA6 |
|---|---|
| RGB | rgb(39, 43, 166) |
| HSL | hsl(238, 62%, 40%) |
| HSV | hsv(238, 77%, 65%) |
| CMYK | cmyk(76.5%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(26.48, 41.20, -65.77) |
| CIE-LCH | lch(26.48, 77.61, 302.06°) |
| OKLab | oklab(38.36% 0.0055 -0.1904) |
| OKLCH | oklch(38.36% 0.19 271.6) |
| XYZ | xyz(8.5812, 4.9113, 36.5647) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.78
Indigo Blue
#3A18B1
ΔE00 4.59
Royal
#0C1793
ΔE00 5.36
Cobalt Blue
#030AA7
ΔE00 6.03
True Blue
#010FCC
ΔE00 6.12
Ultramarine
#2000B1
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272BA6 #A6A227
analogous
#276BA6 #272BA6 #6227A6
triadic
#272BA6 #A6272B #2BA627
tetradic
#272BA6 #A6276B #A6A227 #27A662
square
#272BA6 #A6276B #A6A227 #27A662
split-complementary
#272BA6 #A66227 #6BA627
monochromatic
#101143 #1B1E74 #272BA6 #3A3ED1 #6B6FDC
Accessibility & contrast
On white
10.59
#272BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#272BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272BA6
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272BA6 | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #272ba6; /* rgb */ color: rgb(39, 43, 166); /* oklch */ color: oklch(38.4% 0.190 271.6);
Tailwind
colors: {
custom: {
50: '#7766c2',
500: '#272ba6',
950: '#000000',
},
}SCSS
$custom: #272ba6; $custom-light: #7766c2; $custom-dark: #000000;
JSON
{
"hex": "#272ba6",
"rgb": {
"r": 39,
"g": 43,
"b": 166
},
"hsl": {
"h": 238.11,
"s": 61.951,
"l": 40.196
},
"oklch": {
"l": 0.38356,
"c": 0.19048,
"h": 271.6
},
"luminance": 0.04912
}Semantic roles & 50–950 ramp
primary
#272BA6
secondary
#C3C066
accent
#E043E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82