#2F87AB#2F87AB
#2F87AB is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.7% C 0.098 H 229.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F87AB |
|---|---|
| RGB | rgb(47, 135, 171) |
| HSL | hsl(197, 57%, 43%) |
| HSV | hsv(197, 73%, 67%) |
| CMYK | cmyk(72.5%, 21.1%, 0%, 32.9%) |
| CIE-LAB | lab(52.81, -13.86, -26.54) |
| CIE-LCH | lch(52.81, 29.94, 242.43°) |
| OKLab | oklab(58.73% -0.064 -0.0745) |
| OKLCH | oklch(58.73% 0.098 229.3) |
| XYZ | xyz(17.1840, 20.8706, 41.6430) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.04
Cerulean
#007BA7
ΔE00 5.14
Teal Blue
#01889F
ΔE00 6.16
Steel Blue
#4682B4
ΔE00 6.79
Nice Blue
#107AB0
ΔE00 6.81
Stormy Blue
#507B9C
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F87AB #AB532F
analogous
#2FAB91 #2F87AB #2F49AB
triadic
#2F87AB #AB2F87 #87AB2F
tetradic
#2F87AB #912FAB #AB532F #49AB2F
square
#2F87AB #912FAB #AB532F #49AB2F
split-complementary
#2F87AB #AB2F49 #AB912F
monochromatic
#153B4B #22617B #2F87AB #4AA7CD #7ABEDA
Accessibility & contrast
On white
4.06
#2F87AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#2F87AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F87AB
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F87AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F87AB | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7485AD
Deuteranopia (green-blind)
#6479AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2f87ab; /* rgb */ color: rgb(47, 135, 171); /* oklch */ color: oklch(58.7% 0.098 229.3);
Tailwind
colors: {
custom: {
50: '#78aac4',
500: '#2f87ab',
950: '#000000',
},
}SCSS
$custom: #2f87ab; $custom-light: #78aac4; $custom-dark: #000000;
JSON
{
"hex": "#2f87ab",
"rgb": {
"r": 47,
"g": 135,
"b": 171
},
"hsl": {
"h": 197.419,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.58726,
"c": 0.0982,
"h": 229.3
},
"luminance": 0.20873
}Semantic roles & 50–950 ramp
primary
#2F87AB
secondary
#C38A73
accent
#7448E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81