#2781AF#2781AF
#2781AF is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.2% C 0.108 H 236.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2781AF |
|---|---|
| RGB | rgb(39, 129, 175) |
| HSL | hsl(200, 64%, 42%) |
| HSV | hsv(200, 78%, 69%) |
| CMYK | cmyk(77.7%, 26.3%, 0%, 31.4%) |
| CIE-LAB | lab(50.95, -10.09, -31.75) |
| CIE-LCH | lch(50.95, 33.32, 252.37°) |
| OKLab | oklab(57.25% -0.0605 -0.0896) |
| OKLCH | oklch(57.25% 0.108 236) |
| XYZ | xyz(16.4217, 19.2250, 43.3944) |
| Luminance | 0.1923 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 3.09
Nice Blue
#107AB0
ΔE00 3.14
Steel Blue
#4682B4
ΔE00 4.41
Water Blue
#0E87CC
ΔE00 4.82
Cool Blue
#4984B8
ΔE00 5.15
Dirty Blue
#3F829D
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2781AF #AF5527
analogous
#27AF99 #2781AF #273DAF
triadic
#2781AF #AF2781 #81AF27
tetradic
#2781AF #9927AF #AF5527 #3DAF27
square
#2781AF #9927AF #AF5527 #3DAF27
split-complementary
#2781AF #AF273D #AF9927
monochromatic
#11374B #1C5C7D #2781AF #3FA2D4 #71BADF
Accessibility & contrast
On white
4.33
#2781AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#2781AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2781AF
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2781AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2781AF | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B80B1
Deuteranopia (green-blind)
#5874AE
Tritanopia (blue-blind)
#008D91
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2781af; /* rgb */ color: rgb(39, 129, 175); /* oklch */ color: oklch(57.2% 0.108 236.0);
Tailwind
colors: {
custom: {
50: '#76a5c7',
500: '#2781af',
950: '#000000',
},
}SCSS
$custom: #2781af; $custom-light: #76a5c7; $custom-dark: #000000;
JSON
{
"hex": "#2781af",
"rgb": {
"r": 39,
"g": 129,
"b": 175
},
"hsl": {
"h": 200.294,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.57247,
"c": 0.10813,
"h": 236
},
"luminance": 0.19227
}Semantic roles & 50–950 ramp
primary
#2781AF
secondary
#C68A6B
accent
#7941E7
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82