#2A84AC#2A84AC

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

Color values

HEX#2A84AC
RGBrgb(42, 132, 172)
HSLhsl(198, 61%, 42%)
HSVhsv(198, 76%, 67%)
CMYKcmyk(75.6%, 23.3%, 0%, 32.5%)
CIE-LABlab(51.80, -12.50, -28.68)
CIE-LCHlch(51.80, 31.29, 246.45°)
OKLaboklab(57.9% -0.0631 -0.0807)
OKLCHoklch(57.9% 0.102 232)
XYZxyz(16.6495, 19.9714, 41.9991)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A84AC #AC522A
analogous
#2AAC93 #2A84AC #2A43AC
triadic
#2A84AC #AC2A84 #84AC2A
tetradic
#2A84AC #932AAC #AC522A #43AC2A
square
#2A84AC #932AAC #AC522A #43AC2A
split-complementary
#2A84AC #AC2A43 #AC932A
monochromatic
#12394A #1E5E7B #2A84AC #42A5D1 #73BCDD

Accessibility & contrast

On white

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

On black

4.99
#2A84AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A84AC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A84AC#FFFFFF#000000##000000
##2A84AC1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a84ac;
/* rgb */ color: rgb(42, 132, 172);
/* oklch */ color: oklch(57.9% 0.102 232.0);
Tailwind
colors: {
  custom: {
    50: '#77a7c5',
    500: '#2a84ac',
    950: '#000000',
  },
}
SCSS
$custom: #2a84ac;
$custom-light: #77a7c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a84ac",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 172
  },
  "hsl": {
    "h": 198.462,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.57904,
    "c": 0.10245,
    "h": 232
  },
  "luminance": 0.19973
}

Semantic roles & 50–950 ramp

primary
#2A84AC
secondary
#C4886D
accent
#7544E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2A84AC

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

Preview Lab → · Contrast checker → · Palette generator →

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