#2A84B9#2A84B9

#2A84B9 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.6% C 0.116 H 239.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2A84B9
RGBrgb(42, 132, 185)
HSLhsl(202, 63%, 45%)
HSVhsv(202, 77%, 73%)
CMYKcmyk(77.3%, 28.6%, 0%, 27.5%)
CIE-LABlab(52.39, -7.88, -35.24)
CIE-LCHlch(52.39, 36.11, 257.40°)
OKLaboklab(58.57% -0.0586 -0.0997)
OKLCHoklch(58.57% 0.116 239.5)
XYZxyz(17.9596, 20.4954, 48.8990)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A84B9 #B95F2A
analogous
#2AB9A7 #2A84B9 #2A3CB9
triadic
#2A84B9 #B92A84 #84B92A
tetradic
#2A84B9 #A72AB9 #B95F2A #3CB92A
square
#2A84B9 #A72AB9 #B95F2A #3CB92A
split-complementary
#2A84B9 #B92A3C #B9A72A
monochromatic
#133D55 #1F6087 #2A84B9 #4AA2D6 #7CBCE1

Accessibility & contrast

On white

4.12
#2A84B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2A84B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A84B9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A84B9#FFFFFF#000000##000000
##2A84B91.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B84BB
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#009196
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a84b9;
/* rgb */ color: rgb(42, 132, 185);
/* oklch */ color: oklch(58.6% 0.116 239.5);
Tailwind
colors: {
  custom: {
    50: '#79a7ce',
    500: '#2a84b9',
    950: '#000000',
  },
}
SCSS
$custom: #2a84b9;
$custom-light: #79a7ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a84b9",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 185
  },
  "hsl": {
    "h": 202.238,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.11565,
    "h": 239.5
  },
  "luminance": 0.20498
}

Semantic roles & 50–950 ramp

primary
#2A84B9
secondary
#CA9475
accent
#7F42E6
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2A84B9

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

Preview Lab → · Contrast checker → · Palette generator →

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