#272F9C#272F9C
#272F9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.173 H 271.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #272F9C |
|---|---|
| RGB | rgb(39, 47, 156) |
| HSL | hsl(236, 60%, 38%) |
| HSV | hsv(236, 75%, 61%) |
| CMYK | cmyk(75%, 69.9%, 0%, 38.8%) |
| CIE-LAB | lab(26.34, 35.25, -59.93) |
| CIE-LCH | lch(26.34, 69.52, 300.46°) |
| OKLab | oklab(37.95% 0.0048 -0.1734) |
| OKLCH | oklch(37.95% 0.173 271.6) |
| XYZ | xyz(7.8519, 4.8638, 31.9710) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.24
Royal
#0C1793
ΔE00 5.88
Blueberry
#464196
ΔE00 6.27
Indigo Blue
#3A18B1
ΔE00 6.30
Darkslateblue
#483D8B
ΔE00 6.76
Cobalt Blue
#030AA7
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272F9C #9C9427
analogous
#276A9C #272F9C #59279C
triadic
#272F9C #9C272F #2F9C27
tetradic
#272F9C #9C276A #9C9427 #279C59
square
#272F9C #9C276A #9C9427 #279C59
split-complementary
#272F9C #9C5927 #6A9C27
monochromatic
#0F113A #1B206B #272F9C #343ECC #656DD8
Accessibility & contrast
On white
10.64
#272F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#272F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272F9C
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272F9C | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #272f9c; /* rgb */ color: rgb(39, 47, 156); /* oklch */ color: oklch(38.0% 0.173 271.6);
Tailwind
colors: {
custom: {
50: '#7468ba',
500: '#272f9c',
950: '#000000',
},
}SCSS
$custom: #272f9c; $custom-light: #7468ba; $custom-dark: #000000;
JSON
{
"hex": "#272f9c",
"rgb": {
"r": 39,
"g": 47,
"b": 156
},
"hsl": {
"h": 235.897,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.37951,
"c": 0.17344,
"h": 271.6
},
"luminance": 0.04865
}Semantic roles & 50–950 ramp
primary
#272F9C
secondary
#BEB861
accent
#D845E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81