#2781AA#2781AA
#2781AA is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.0% C 0.103 H 232.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2781AA |
|---|---|
| RGB | rgb(39, 129, 170) |
| HSL | hsl(199, 63%, 41%) |
| HSV | hsv(199, 77%, 67%) |
| CMYK | cmyk(77.1%, 24.1%, 0%, 33.3%) |
| CIE-LAB | lab(50.72, -11.88, -29.21) |
| CIE-LCH | lch(50.72, 31.53, 247.87°) |
| OKLab | oklab(56.99% -0.0623 -0.0823) |
| OKLCH | oklch(56.99% 0.103 232.9) |
| XYZ | xyz(15.9397, 19.0322, 40.8559) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 2.67
Dirty Blue
#3F829D
ΔE00 3.97
Nice Blue
#107AB0
ΔE00 4.11
Steel Blue
#4682B4
ΔE00 5.54
Stormy Blue
#507B9C
ΔE00 5.59
Sea Blue
#047495
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2781AA #AA5027
analogous
#27AA91 #2781AA #273FAA
triadic
#2781AA #AA2781 #81AA27
tetradic
#2781AA #9127AA #AA5027 #3FAA27
square
#2781AA #9127AA #AA5027 #3FAA27
split-complementary
#2781AA #AA273F #AA9127
monochromatic
#103546 #1C5B78 #2781AA #3CA3D2 #6EBBDE
Accessibility & contrast
On white
4.37
#2781AA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#2781AA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2781AA
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2781AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2781AA | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D80AC
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2781aa; /* rgb */ color: rgb(39, 129, 170); /* oklch */ color: oklch(57.0% 0.103 232.9);
Tailwind
colors: {
custom: {
50: '#75a5c3',
500: '#2781aa',
950: '#000000',
},
}SCSS
$custom: #2781aa; $custom-light: #75a5c3; $custom-dark: #000000;
JSON
{
"hex": "#2781aa",
"rgb": {
"r": 39,
"g": 129,
"b": 170
},
"hsl": {
"h": 198.779,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.56994,
"c": 0.10318,
"h": 232.9
},
"luminance": 0.19034
}Semantic roles & 50–950 ramp
primary
#2781AA
secondary
#C48569
accent
#7542E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81