#272EAF#272EAF
#272EAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.199 H 270.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #272EAF |
|---|---|
| RGB | rgb(39, 46, 175) |
| HSL | hsl(237, 64%, 42%) |
| HSV | hsv(237, 78%, 69%) |
| CMYK | cmyk(77.7%, 73.7%, 0%, 31.4%) |
| CIE-LAB | lab(28.06, 42.53, -68.58) |
| CIE-LCH | lch(28.06, 80.70, 301.80°) |
| OKLab | oklab(39.76% 0.0028 -0.1986) |
| OKLCH | oklch(39.76% 0.199 270.8) |
| XYZ | xyz(9.5489, 5.4794, 41.1035) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.10
Indigo Blue
#3A18B1
ΔE00 4.86
True Blue
#010FCC
ΔE00 5.85
Blue Blue
#2242C7
ΔE00 6.24
Royal
#0C1793
ΔE00 6.60
Ocean Blue
#4F42B5
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272EAF #AFA827
analogous
#2772AF #272EAF #6427AF
triadic
#272EAF #AF272E #2EAF27
tetradic
#272EAF #AF2772 #AFA827 #27AF64
square
#272EAF #AF2772 #AFA827 #27AF64
split-complementary
#272EAF #AF6427 #72AF27
monochromatic
#11144B #1C217D #272EAF #3F47D4 #7177DF
Accessibility & contrast
On white
10.02
#272EAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#272EAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272EAF
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272EAF | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #272eaf; /* rgb */ color: rgb(39, 46, 175); /* oklch */ color: oklch(39.8% 0.199 270.8);
Tailwind
colors: {
custom: {
50: '#7968c8',
500: '#272eaf',
950: '#000000',
},
}SCSS
$custom: #272eaf; $custom-light: #7968c8; $custom-dark: #000000;
JSON
{
"hex": "#272eaf",
"rgb": {
"r": 39,
"g": 46,
"b": 175
},
"hsl": {
"h": 236.912,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.39764,
"c": 0.19861,
"h": 270.8
},
"luminance": 0.0548
}Semantic roles & 50–950 ramp
primary
#272EAF
secondary
#C6C26B
accent
#DE41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82