#2987B6#2987B6

#2987B6 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.111 H 235.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2987B6
RGBrgb(41, 135, 182)
HSLhsl(200, 63%, 44%)
HSVhsv(200, 77%, 71%)
CMYKcmyk(77.5%, 25.8%, 0%, 28.6%)
CIE-LABlab(53.14, -10.79, -32.35)
CIE-LCHlch(53.14, 34.11, 251.56°)
OKLaboklab(59.11% -0.063 -0.0913)
OKLCHoklch(59.11% 0.111 235.4)
XYZxyz(18.0185, 21.1746, 47.3844)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2987B6 #B65829
analogous
#29B69E #2987B6 #2940B6
triadic
#2987B6 #B62987 #87B629
tetradic
#2987B6 #9E29B6 #B65829 #40B629
square
#2987B6 #9E29B6 #B65829 #40B629
split-complementary
#2987B6 #B62940 #B69E29
monochromatic
#123D52 #1E6284 #2987B6 #47A6D5 #79BEE1

Accessibility & contrast

On white

4.01
#2987B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#2987B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2987B6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2987B6#FFFFFF#000000##000000
##2987B61.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7086B8
Deuteranopia (green-blind)
#5D79B5
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2987b6;
/* rgb */ color: rgb(41, 135, 182);
/* oklch */ color: oklch(59.1% 0.111 235.4);
Tailwind
colors: {
  custom: {
    50: '#78a9cc',
    500: '#2987b6',
    950: '#000000',
  },
}
SCSS
$custom: #2987b6;
$custom-light: #78a9cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2987b6",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 182
  },
  "hsl": {
    "h": 200,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.11089,
    "h": 235.4
  },
  "luminance": 0.21177
}

Semantic roles & 50–950 ramp

primary
#2987B6
secondary
#C98F72
accent
#7842E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2987B6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2987B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva