#2781AB#2781AB
#2781AB is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.0% C 0.104 H 233.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2781AB |
|---|---|
| RGB | rgb(39, 129, 171) |
| HSL | hsl(199, 63%, 41%) |
| HSV | hsv(199, 77%, 67%) |
| CMYK | cmyk(77.2%, 24.6%, 0%, 32.9%) |
| CIE-LAB | lab(50.77, -11.52, -29.72) |
| CIE-LCH | lch(50.77, 31.88, 248.81°) |
| OKLab | oklab(57.04% -0.0619 -0.0837) |
| OKLCH | oklch(57.04% 0.104 233.5) |
| XYZ | xyz(16.0347, 19.0702, 41.3560) |
| Luminance | 0.1907 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 2.69
Nice Blue
#107AB0
ΔE00 3.87
Dirty Blue
#3F829D
ΔE00 4.23
Steel Blue
#4682B4
ΔE00 5.29
Stormy Blue
#507B9C
ΔE00 5.53
Water Blue
#0E87CC
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2781AB #AB5127
analogous
#27AB93 #2781AB #273FAB
triadic
#2781AB #AB2781 #81AB27
tetradic
#2781AB #9327AB #AB5127 #3FAB27
square
#2781AB #9327AB #AB5127 #3FAB27
split-complementary
#2781AB #AB273F #AB9327
monochromatic
#103647 #1C5B79 #2781AB #3DA3D3 #6EBADE
Accessibility & contrast
On white
4.36
#2781AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#2781AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2781AB
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2781AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2781AB | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 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)
#6C80AD
Deuteranopia (green-blind)
#5B73AA
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2781ab; /* rgb */ color: rgb(39, 129, 171); /* oklch */ color: oklch(57.0% 0.104 233.5);
Tailwind
colors: {
custom: {
50: '#75a5c4',
500: '#2781ab',
950: '#000000',
},
}SCSS
$custom: #2781ab; $custom-light: #75a5c4; $custom-dark: #000000;
JSON
{
"hex": "#2781ab",
"rgb": {
"r": 39,
"g": 129,
"b": 171
},
"hsl": {
"h": 199.091,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.57044,
"c": 0.10415,
"h": 233.5
},
"luminance": 0.19072
}Semantic roles & 50–950 ramp
primary
#2781AB
secondary
#C58669
accent
#7642E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81