#272BA3#272BA3
#272BA3 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.187 H 271.8°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #272BA3 |
|---|---|
| RGB | rgb(39, 43, 163) |
| HSL | hsl(238, 61%, 40%) |
| HSV | hsv(238, 76%, 64%) |
| CMYK | cmyk(76.1%, 73.6%, 0%, 36.1%) |
| CIE-LAB | lab(26.16, 40.17, -64.48) |
| CIE-LCH | lch(26.16, 75.97, 301.92°) |
| OKLab | oklab(38.04% 0.006 -0.1866) |
| OKLCH | oklch(38.04% 0.187 271.8) |
| XYZ | xyz(8.3092, 4.8025, 35.1323) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.84
Indigo Blue
#3A18B1
ΔE00 4.80
Royal
#0C1793
ΔE00 5.17
Cobalt Blue
#030AA7
ΔE00 6.06
True Blue
#010FCC
ΔE00 6.45
Royal Blue (survey)
#0504AA
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272BA3 #A39F27
analogous
#2769A3 #272BA3 #6127A3
triadic
#272BA3 #A3272B #2BA327
tetradic
#272BA3 #A32769 #A39F27 #27A361
square
#272BA3 #A32769 #A39F27 #27A361
split-complementary
#272BA3 #A36127 #69A327
monochromatic
#0F1140 #1B1E72 #272BA3 #383DCF #696DDB
Accessibility & contrast
On white
10.71
#272BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#272BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272BA3
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272BA3 | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #272ba3; /* rgb */ color: rgb(39, 43, 163); /* oklch */ color: oklch(38.0% 0.187 271.8);
Tailwind
colors: {
custom: {
50: '#7665bf',
500: '#272ba3',
950: '#000000',
},
}SCSS
$custom: #272ba3; $custom-light: #7665bf; $custom-dark: #000000;
JSON
{
"hex": "#272ba3",
"rgb": {
"r": 39,
"g": 43,
"b": 163
},
"hsl": {
"h": 238.065,
"s": 61.386,
"l": 39.608
},
"oklch": {
"l": 0.38037,
"c": 0.18673,
"h": 271.8
},
"luminance": 0.04803
}Semantic roles & 50–950 ramp
primary
#272BA3
secondary
#C1BE64
accent
#DF43E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81