#2D84AB#2D84AB

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

Color values

HEX#2D84AB
RGBrgb(45, 132, 171)
HSLhsl(199, 58%, 42%)
HSVhsv(199, 74%, 67%)
CMYKcmyk(73.7%, 22.8%, 0%, 32.9%)
CIE-LABlab(51.84, -12.46, -28.05)
CIE-LCHlch(51.84, 30.69, 246.06°)
OKLaboklab(57.94% -0.062 -0.0788)
OKLCHoklch(57.94% 0.1 231.8)
XYZxyz(16.6812, 19.9988, 41.5012)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D84AB #AB542D
analogous
#2DAB93 #2D84AB #2D45AB
triadic
#2D84AB #AB2D84 #84AB2D
tetradic
#2D84AB #932DAB #AB542D #45AB2D
square
#2D84AB #932DAB #AB542D #45AB2D
split-complementary
#2D84AB #AB2D45 #AB932D
monochromatic
#14394A #205F7B #2D84AB #47A4CE #77BCDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D84AB#FFFFFF#000000##000000
##2D84AB1.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)
#7C7C7C

Design tokens & code

CSS
--color: #2d84ab;
/* rgb */ color: rgb(45, 132, 171);
/* oklch */ color: oklch(57.9% 0.100 231.8);
Tailwind
colors: {
  custom: {
    50: '#77a7c4',
    500: '#2d84ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d84ab;
$custom-light: #77a7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d84ab",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 171
  },
  "hsl": {
    "h": 198.571,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57936,
    "c": 0.10031,
    "h": 231.8
  },
  "luminance": 0.20001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D84AB

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

Preview Lab → · Contrast checker → · Palette generator →

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