#2730AA#2730AA
#2730AA is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.190 H 270.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2730AA |
|---|---|
| RGB | rgb(39, 48, 170) |
| HSL | hsl(236, 63%, 41%) |
| HSV | hsv(236, 77%, 67%) |
| CMYK | cmyk(77.1%, 71.8%, 0%, 33.3%) |
| CIE-LAB | lab(27.97, 39.60, -65.73) |
| CIE-LCH | lch(27.97, 76.73, 301.07°) |
| OKLab | oklab(39.55% 0.0026 -0.1903) |
| OKLCH | oklch(39.55% 0.19 270.8) |
| XYZ | xyz(9.1469, 5.4465, 38.5916) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.48
Indigo Blue
#3A18B1
ΔE00 5.53
Blue Blue
#2242C7
ΔE00 6.18
Ocean Blue
#4F42B5
ΔE00 6.54
Royal
#0C1793
ΔE00 6.66
Blueberry
#464196
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2730AA #AAA127
analogous
#2771AA #2730AA #5F27AA
triadic
#2730AA #AA2730 #30AA27
tetradic
#2730AA #AA2771 #AAA127 #27AA5F
square
#2730AA #AA2771 #AAA127 #27AA5F
split-complementary
#2730AA #AA5F27 #71AA27
monochromatic
#101446 #1C2278 #2730AA #3C46D2 #6E75DE
Accessibility & contrast
On white
10.05
#2730AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2730AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2730AA
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2730AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2730AA | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2730aa; /* rgb */ color: rgb(39, 48, 170); /* oklch */ color: oklch(39.5% 0.190 270.8);
Tailwind
colors: {
custom: {
50: '#7769c4',
500: '#2730aa',
950: '#000000',
},
}SCSS
$custom: #2730aa; $custom-light: #7769c4; $custom-dark: #000000;
JSON
{
"hex": "#2730aa",
"rgb": {
"r": 39,
"g": 48,
"b": 170
},
"hsl": {
"h": 235.878,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.39546,
"c": 0.19031,
"h": 270.8
},
"luminance": 0.05448
}Semantic roles & 50–950 ramp
primary
#2730AA
secondary
#C4BE69
accent
#DA42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82