#2987B0#2987B0

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

Color values

HEX#2987B0
RGBrgb(41, 135, 176)
HSLhsl(198, 62%, 43%)
HSVhsv(198, 77%, 69%)
CMYKcmyk(76.7%, 23.3%, 0%, 31%)
CIE-LABlab(52.87, -12.91, -29.32)
CIE-LCHlch(52.87, 32.04, 246.25°)
OKLaboklab(58.81% -0.0651 -0.0825)
OKLCHoklch(58.81% 0.105 231.7)
XYZxyz(17.4117, 20.9319, 44.1885)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2987B0 #B05229
analogous
#29B095 #2987B0 #2944B0
triadic
#2987B0 #B02987 #87B029
tetradic
#2987B0 #9529B0 #B05229 #44B029
square
#2987B0 #9529B0 #B05229 #44B029
split-complementary
#2987B0 #B02944 #B09529
monochromatic
#123B4D #1D617E #2987B0 #43A7D3 #75BFDF

Accessibility & contrast

On white

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

On black

5.19
#2987B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2987B0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2987B0#FFFFFF#000000##000000
##2987B01.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7285B2
Deuteranopia (green-blind)
#6079AF
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2987b0;
/* rgb */ color: rgb(41, 135, 176);
/* oklch */ color: oklch(58.8% 0.105 231.7);
Tailwind
colors: {
  custom: {
    50: '#77aac7',
    500: '#2987b0',
    950: '#000000',
  },
}
SCSS
$custom: #2987b0;
$custom-light: #77aac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2987b0",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 176
  },
  "hsl": {
    "h": 198.222,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.58809,
    "c": 0.10509,
    "h": 231.7
  },
  "luminance": 0.20934
}

Semantic roles & 50–950 ramp

primary
#2987B0
secondary
#C6896F
accent
#7443E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2987B0

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

Preview Lab → · Contrast checker → · Palette generator →

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