#272FAF#272FAF
#272FAF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.198 H 270.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #272FAF |
|---|---|
| RGB | rgb(39, 47, 175) |
| HSL | hsl(236, 64%, 42%) |
| HSV | hsv(236, 78%, 69%) |
| CMYK | cmyk(77.7%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(28.27, 41.94, -68.23) |
| CIE-LCH | lch(28.27, 80.09, 301.58°) |
| OKLab | oklab(39.92% 0.0023 -0.1976) |
| OKLCH | oklch(39.92% 0.198 270.7) |
| XYZ | xyz(9.5884, 5.5585, 41.1167) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.86
Indigo Blue
#3A18B1
ΔE00 5.10
Blue Blue
#2242C7
ΔE00 6.02
True Blue
#010FCC
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.47
Royal
#0C1793
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272FAF #AFA727
analogous
#2773AF #272FAF #6327AF
triadic
#272FAF #AF272F #2FAF27
tetradic
#272FAF #AF2773 #AFA727 #27AF63
square
#272FAF #AF2773 #AFA727 #27AF63
split-complementary
#272FAF #AF6327 #73AF27
monochromatic
#11144B #1C227D #272FAF #3F48D4 #7178DF
Accessibility & contrast
On white
9.94
#272FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#272FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272FAF
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272FAF | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #272faf; /* rgb */ color: rgb(39, 47, 175); /* oklch */ color: oklch(39.9% 0.198 270.7);
Tailwind
colors: {
custom: {
50: '#7969c8',
500: '#272faf',
950: '#000000',
},
}SCSS
$custom: #272faf; $custom-light: #7969c8; $custom-dark: #000000;
JSON
{
"hex": "#272faf",
"rgb": {
"r": 39,
"g": 47,
"b": 175
},
"hsl": {
"h": 236.471,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.39915,
"c": 0.19759,
"h": 270.7
},
"luminance": 0.0556
}Semantic roles & 50–950 ramp
primary
#272FAF
secondary
#C6C16B
accent
#DD41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82