#272AA8#272AA8
#272AA8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.194 H 271.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #272AA8 |
|---|---|
| RGB | rgb(39, 42, 168) |
| HSL | hsl(239, 62%, 41%) |
| HSV | hsv(239, 77%, 66%) |
| CMYK | cmyk(76.8%, 75%, 0%, 34.1%) |
| CIE-LAB | lab(26.49, 42.46, -66.97) |
| CIE-LCH | lch(26.49, 79.30, 302.38°) |
| OKLab | oklab(38.42% 0.0056 -0.1939) |
| OKLCH | oklch(38.42% 0.194 271.7) |
| XYZ | xyz(8.7302, 4.9135, 37.5265) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.00
Indigo Blue
#3A18B1
ΔE00 4.25
Royal
#0C1793
ΔE00 5.31
True Blue
#010FCC
ΔE00 5.75
Cobalt Blue
#030AA7
ΔE00 5.79
Ultramarine
#2000B1
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272AA8 #A8A527
analogous
#276AA8 #272AA8 #6527A8
triadic
#272AA8 #A8272A #2AA827
tetradic
#272AA8 #A8276A #A8A527 #27A865
square
#272AA8 #A8276A #A8A527 #27A865
split-complementary
#272AA8 #A86527 #6AA827
monochromatic
#101145 #1B1E76 #272AA8 #3B3ED1 #6C6FDD
Accessibility & contrast
On white
10.59
#272AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#272AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272AA8
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272AA8 | 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)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #272aa8; /* rgb */ color: rgb(39, 42, 168); /* oklch */ color: oklch(38.4% 0.194 271.7);
Tailwind
colors: {
custom: {
50: '#7865c3',
500: '#272aa8',
950: '#000000',
},
}SCSS
$custom: #272aa8; $custom-light: #7865c3; $custom-dark: #000000;
JSON
{
"hex": "#272aa8",
"rgb": {
"r": 39,
"g": 42,
"b": 168
},
"hsl": {
"h": 238.605,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.38424,
"c": 0.19396,
"h": 271.7
},
"luminance": 0.04914
}Semantic roles & 50–950 ramp
primary
#272AA8
secondary
#C3C167
accent
#E242E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82