#2D84A8#2D84A8

#2D84A8 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 57.8% C 0.098 H 229.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2D84A8
RGBrgb(45, 132, 168)
HSLhsl(198, 58%, 42%)
HSVhsv(198, 73%, 66%)
CMYKcmyk(73.2%, 21.4%, 0%, 34.1%)
CIE-LABlab(51.71, -13.49, -26.52)
CIE-LCHlch(51.71, 29.75, 243.03°)
OKLaboklab(57.79% -0.0631 -0.0744)
OKLCHoklch(57.79% 0.098 229.7)
XYZxyz(16.3985, 19.8857, 40.0123)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D84A8 #A8512D
analogous
#2DA88F #2D84A8 #2D47A8
triadic
#2D84A8 #A82D84 #84A82D
tetradic
#2D84A8 #8F2DA8 #A8512D #47A82D
square
#2D84A8 #8F2DA8 #A8512D #47A82D
split-complementary
#2D84A8 #A82D47 #A88F2D
monochromatic
#133847 #205E78 #2D84A8 #45A5CD #75BDDA

Accessibility & contrast

On white

4.22
#2D84A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2D84A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D84A8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D84A8#FFFFFF#000000##000000
##2D84A81.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7182AA
Deuteranopia (green-blind)
#6176A7
Tritanopia (blue-blind)
#008E90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d84a8;
/* rgb */ color: rgb(45, 132, 168);
/* oklch */ color: oklch(57.8% 0.098 229.7);
Tailwind
colors: {
  custom: {
    50: '#77a7c2',
    500: '#2d84a8',
    950: '#000000',
  },
}
SCSS
$custom: #2d84a8;
$custom-light: #77a7c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d84a8",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 168
  },
  "hsl": {
    "h": 197.561,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.57791,
    "c": 0.09758,
    "h": 229.7
  },
  "luminance": 0.19888
}

Semantic roles & 50–950 ramp

primary
#2D84A8
secondary
#C2876F
accent
#7447E1
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2D84A8

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

Preview Lab → · Contrast checker → · Palette generator →

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