#2C84AB#2C84AB

#2C84AB is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 57.9% C 0.101 H 231.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2C84AB
RGBrgb(44, 132, 171)
HSLhsl(198, 59%, 42%)
HSVhsv(198, 74%, 67%)
CMYKcmyk(74.3%, 22.8%, 0%, 32.9%)
CIE-LABlab(51.81, -12.59, -28.09)
CIE-LCHlch(51.81, 30.78, 245.86°)
OKLaboklab(57.91% -0.0625 -0.079)
OKLCHoklch(57.91% 0.101 231.6)
XYZxyz(16.6377, 19.9763, 41.4991)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C84AB #AB532C
analogous
#2CAB93 #2C84AB #2C45AB
triadic
#2C84AB #AB2C84 #84AB2C
tetradic
#2C84AB #932CAB #AB532C #45AB2C
square
#2C84AB #932CAB #AB532C #45AB2C
split-complementary
#2C84AB #AB2C45 #AB932C
monochromatic
#13394A #1F5E7A #2C84AB #45A5CF #76BCDC

Accessibility & contrast

On white

4.20
#2C84AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2C84AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C84AB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C84AB#FFFFFF#000000##000000
##2C84AB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7082AD
Deuteranopia (green-blind)
#5F76AA
Tritanopia (blue-blind)
#008F91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c84ab;
/* rgb */ color: rgb(44, 132, 171);
/* oklch */ color: oklch(57.9% 0.101 231.6);
Tailwind
colors: {
  custom: {
    50: '#77a7c4',
    500: '#2c84ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c84ab;
$custom-light: #77a7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c84ab",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 171
  },
  "hsl": {
    "h": 198.425,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.10072,
    "h": 231.6
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#2C84AB
secondary
#C3896F
accent
#7646E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C84AB

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

Preview Lab → · Contrast checker → · Palette generator →

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