#2987AF#2987AF

#2987AF is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.104 H 231.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2987AF
RGBrgb(41, 135, 175)
HSLhsl(198, 62%, 42%)
HSVhsv(198, 77%, 69%)
CMYKcmyk(76.6%, 22.9%, 0%, 31.4%)
CIE-LABlab(52.83, -13.26, -28.82)
CIE-LCHlch(52.83, 31.72, 245.30°)
OKLaboklab(58.76% -0.0654 -0.0811)
OKLCHoklch(58.76% 0.104 231.1)
XYZxyz(17.3132, 20.8924, 43.6693)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2987AF #AF5129
analogous
#29AF94 #2987AF #2944AF
triadic
#2987AF #AF2987 #87AF29
tetradic
#2987AF #9429AF #AF5129 #44AF29
square
#2987AF #9429AF #AF5129 #44AF29
split-complementary
#2987AF #AF2944 #AF9429
monochromatic
#123B4C #1D617D #2987AF #42A8D3 #74BFDE

Accessibility & contrast

On white

4.05
#2987AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#2987AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2987AF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2987AF#FFFFFF#000000##000000
##2987AF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385B1
Deuteranopia (green-blind)
#6178AE
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2987af;
/* rgb */ color: rgb(41, 135, 175);
/* oklch */ color: oklch(58.8% 0.104 231.1);
Tailwind
colors: {
  custom: {
    50: '#77aac7',
    500: '#2987af',
    950: '#000000',
  },
}
SCSS
$custom: #2987af;
$custom-light: #77aac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2987af",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 197.91,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5876,
    "c": 0.10418,
    "h": 231.1
  },
  "luminance": 0.20895
}

Semantic roles & 50–950 ramp

primary
#2987AF
secondary
#C6886E
accent
#7343E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2987AF

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

Preview Lab → · Contrast checker → · Palette generator →

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