#272B9C#272B9C
#272B9C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.178 H 272.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #272B9C |
|---|---|
| RGB | rgb(39, 43, 156) |
| HSL | hsl(238, 60%, 38%) |
| HSV | hsv(238, 75%, 61%) |
| CMYK | cmyk(75%, 72.4%, 0%, 38.8%) |
| CIE-LAB | lab(25.44, 37.73, -61.42) |
| CIE-LCH | lch(25.44, 72.08, 301.56°) |
| OKLab | oklab(37.3% 0.0071 -0.1777) |
| OKLCH | oklch(37.3% 0.178 272.3) |
| XYZ | xyz(7.6993, 4.5586, 31.9202) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.14
Royal
#0C1793
ΔE00 4.88
Indigo Blue
#3A18B1
ΔE00 5.42
Cobalt Blue
#030AA7
ΔE00 6.28
Royal Blue (survey)
#0504AA
ΔE00 6.80
Ultramarine
#2000B1
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272B9C #9C9827
analogous
#27659C #272B9C #5D279C
triadic
#272B9C #9C272B #2B9C27
tetradic
#272B9C #9C2765 #9C9827 #279C5D
square
#272B9C #9C2765 #9C9827 #279C5D
split-complementary
#272B9C #9C5D27 #659C27
monochromatic
#0F103A #1B1E6B #272B9C #3439CC #6569D8
Accessibility & contrast
On white
10.98
#272B9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#272B9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272B9C
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272B9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272B9C | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #272b9c; /* rgb */ color: rgb(39, 43, 156); /* oklch */ color: oklch(37.3% 0.178 272.3);
Tailwind
colors: {
custom: {
50: '#7465ba',
500: '#272b9c',
950: '#000000',
},
}SCSS
$custom: #272b9c; $custom-light: #7465ba; $custom-dark: #000000;
JSON
{
"hex": "#272b9c",
"rgb": {
"r": 39,
"g": 43,
"b": 156
},
"hsl": {
"h": 237.949,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.373,
"c": 0.17785,
"h": 272.3
},
"luminance": 0.04559
}Semantic roles & 50–950 ramp
primary
#272B9C
secondary
#BEBB61
accent
#DE45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81