#272DAF#272DAF
#272DAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.200 H 270.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #272DAF |
|---|---|
| RGB | rgb(39, 45, 175) |
| HSL | hsl(237, 64%, 42%) |
| HSV | hsv(237, 78%, 69%) |
| CMYK | cmyk(77.7%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(27.85, 43.11, -68.92) |
| CIE-LCH | lch(27.85, 81.30, 302.03°) |
| OKLab | oklab(39.62% 0.0032 -0.1996) |
| OKLCH | oklch(39.62% 0.2 270.9) |
| XYZ | xyz(9.5103, 5.4022, 41.0906) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.35
Indigo Blue
#3A18B1
ΔE00 4.62
True Blue
#010FCC
ΔE00 5.65
Royal
#0C1793
ΔE00 6.42
Blue Blue
#2242C7
ΔE00 6.45
Cobalt Blue
#030AA7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272DAF #AFA927
analogous
#2771AF #272DAF #6527AF
triadic
#272DAF #AF272D #2DAF27
tetradic
#272DAF #AF2771 #AFA927 #27AF65
square
#272DAF #AF2771 #AFA927 #27AF65
split-complementary
#272DAF #AF6527 #71AF27
monochromatic
#11134B #1C207D #272DAF #3F46D4 #7176DF
Accessibility & contrast
On white
10.09
#272DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#272DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272DAF
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272DAF | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #272daf; /* rgb */ color: rgb(39, 45, 175); /* oklch */ color: oklch(39.6% 0.200 270.9);
Tailwind
colors: {
custom: {
50: '#7967c8',
500: '#272daf',
950: '#000000',
},
}SCSS
$custom: #272daf; $custom-light: #7967c8; $custom-dark: #000000;
JSON
{
"hex": "#272daf",
"rgb": {
"r": 39,
"g": 45,
"b": 175
},
"hsl": {
"h": 237.353,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.39616,
"c": 0.19961,
"h": 270.9
},
"luminance": 0.05403
}Semantic roles & 50–950 ramp
primary
#272DAF
secondary
#C6C26B
accent
#DF41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82