#2C87AF#2C87AF

#2C87AF is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.8% C 0.103 H 231.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2C87AF
RGBrgb(44, 135, 175)
HSLhsl(198, 60%, 43%)
HSVhsv(198, 75%, 69%)
CMYKcmyk(74.9%, 22.9%, 0%, 31.4%)
CIE-LABlab(52.90, -12.88, -28.70)
CIE-LCHlch(52.90, 31.46, 245.83°)
OKLaboklab(58.84% -0.064 -0.0807)
OKLCHoklch(58.84% 0.103 231.6)
XYZxyz(17.4374, 20.9565, 43.6751)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87AF #AF542C
analogous
#2CAF96 #2C87AF #2C45AF
triadic
#2C87AF #AF2C87 #87AF2C
tetradic
#2C87AF #962CAF #AF542C #45AF2C
square
#2C87AF #962CAF #AF542C #45AF2C
split-complementary
#2C87AF #AF2C45 #AF962C
monochromatic
#133C4D #20617E #2C87AF #47A7D1 #78BEDD

Accessibility & contrast

On white

4.04
#2C87AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2C87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87AF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87AF#FFFFFF#000000##000000
##2C87AF1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c87af;
/* rgb */ color: rgb(44, 135, 175);
/* oklch */ color: oklch(58.8% 0.103 231.6);
Tailwind
colors: {
  custom: {
    50: '#78aac7',
    500: '#2c87af',
    950: '#000000',
  },
}
SCSS
$custom: #2c87af;
$custom-light: #78aac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87af",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 198.321,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.58836,
    "c": 0.10303,
    "h": 231.6
  },
  "luminance": 0.20959
}

Semantic roles & 50–950 ramp

primary
#2C87AF
secondary
#C58B72
accent
#7545E3
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2C87AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2C87AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva