#272C9F#272C9F
#272C9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.181 H 271.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #272C9F |
|---|---|
| RGB | rgb(39, 44, 159) |
| HSL | hsl(238, 61%, 39%) |
| HSV | hsv(238, 75%, 62%) |
| CMYK | cmyk(75.5%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(25.97, 38.17, -62.38) |
| CIE-LCH | lch(25.97, 73.13, 301.47°) |
| OKLab | oklab(37.77% 0.0061 -0.1805) |
| OKLCH | oklch(37.77% 0.181 271.9) |
| XYZ | xyz(7.9933, 4.7351, 33.2869) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.75
Royal
#0C1793
ΔE00 5.21
Indigo Blue
#3A18B1
ΔE00 5.35
Cobalt Blue
#030AA7
ΔE00 6.42
Royal Blue (survey)
#0504AA
ΔE00 6.92
Blueberry
#464196
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272C9F #9F9A27
analogous
#27689F #272C9F #5E279F
triadic
#272C9F #9F272C #2C9F27
tetradic
#272C9F #9F2768 #9F9A27 #279F5E
square
#272C9F #9F2768 #9F9A27 #279F5E
split-complementary
#272C9F #9F5E27 #689F27
monochromatic
#0F113D #1B1E6E #272C9F #363CCE #676CDA
Accessibility & contrast
On white
10.78
#272C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#272C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272C9F
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272C9F | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #272c9f; /* rgb */ color: rgb(39, 44, 159); /* oklch */ color: oklch(37.8% 0.181 271.9);
Tailwind
colors: {
custom: {
50: '#7566bd',
500: '#272c9f',
950: '#000000',
},
}SCSS
$custom: #272c9f; $custom-light: #7566bd; $custom-dark: #000000;
JSON
{
"hex": "#272c9f",
"rgb": {
"r": 39,
"g": 44,
"b": 159
},
"hsl": {
"h": 237.5,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.37771,
"c": 0.18061,
"h": 271.9
},
"luminance": 0.04736
}Semantic roles & 50–950 ramp
primary
#272C9F
secondary
#C0BC62
accent
#DD44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81