#272F9F#272F9F
#272F9F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.177 H 271.4°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #272F9F |
|---|---|
| RGB | rgb(39, 47, 159) |
| HSL | hsl(236, 61%, 39%) |
| HSV | hsv(236, 75%, 62%) |
| CMYK | cmyk(75.5%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(26.64, 36.32, -61.27) |
| CIE-LCH | lch(26.64, 71.22, 300.66°) |
| OKLab | oklab(38.26% 0.0045 -0.1773) |
| OKLCH | oklch(38.26% 0.177 271.4) |
| XYZ | xyz(8.1091, 4.9667, 33.3255) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.03
Royal
#0C1793
ΔE00 5.94
Indigo Blue
#3A18B1
ΔE00 6.03
Blueberry
#464196
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.94
Cobalt Blue
#030AA7
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272F9F #9F9727
analogous
#276B9F #272F9F #5B279F
triadic
#272F9F #9F272F #2F9F27
tetradic
#272F9F #9F276B #9F9727 #279F5B
square
#272F9F #9F276B #9F9727 #279F5B
split-complementary
#272F9F #9F5B27 #6B9F27
monochromatic
#0F123D #1B206E #272F9F #3640CE #676EDA
Accessibility & contrast
On white
10.53
#272F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#272F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272F9F
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272F9F | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #272f9f; /* rgb */ color: rgb(39, 47, 159); /* oklch */ color: oklch(38.3% 0.177 271.4);
Tailwind
colors: {
custom: {
50: '#7568bc',
500: '#272f9f',
950: '#000000',
},
}SCSS
$custom: #272f9f; $custom-light: #7568bc; $custom-dark: #000000;
JSON
{
"hex": "#272f9f",
"rgb": {
"r": 39,
"g": 47,
"b": 159
},
"hsl": {
"h": 236,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.38255,
"c": 0.17734,
"h": 271.4
},
"luminance": 0.04968
}Semantic roles & 50–950 ramp
primary
#272F9F
secondary
#C0B962
accent
#D944E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81