#2A84AB#2A84AB

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

Color values

HEX#2A84AB
RGBrgb(42, 132, 171)
HSLhsl(198, 61%, 42%)
HSVhsv(198, 75%, 67%)
CMYKcmyk(75.4%, 22.8%, 0%, 32.9%)
CIE-LABlab(51.76, -12.85, -28.17)
CIE-LCHlch(51.76, 30.96, 245.48°)
OKLaboklab(57.86% -0.0635 -0.0792)
OKLCHoklch(57.86% 0.102 231.3)
XYZxyz(16.5538, 19.9331, 41.4952)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A84AB #AB512A
analogous
#2AAB92 #2A84AB #2A43AB
triadic
#2A84AB #AB2A84 #84AB2A
tetradic
#2A84AB #922AAB #AB512A #43AB2A
square
#2A84AB #922AAB #AB512A #43AB2A
split-complementary
#2A84AB #AB2A43 #AB922A
monochromatic
#123849 #1E5E7A #2A84AB #42A5D1 #73BDDD

Accessibility & contrast

On white

4.21
#2A84AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A84AB#FFFFFF#000000##000000
##2A84AB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.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: #2a84ab;
/* rgb */ color: rgb(42, 132, 171);
/* oklch */ color: oklch(57.9% 0.102 231.3);
Tailwind
colors: {
  custom: {
    50: '#76a7c4',
    500: '#2a84ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a84ab;
$custom-light: #76a7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a84ab",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 171
  },
  "hsl": {
    "h": 198.14,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.10152,
    "h": 231.3
  },
  "luminance": 0.19935
}

Semantic roles & 50–950 ramp

primary
#2A84AB
secondary
#C4876D
accent
#7444E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2A84AB

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

Preview Lab → · Contrast checker → · Palette generator →

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