#2A5084#2A5084

#2A5084 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.097 H 256.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2A5084
RGBrgb(42, 80, 132)
HSLhsl(215, 52%, 34%)
HSVhsv(215, 68%, 52%)
CMYKcmyk(68.2%, 39.4%, 0%, 48.2%)
CIE-LABlab(33.76, 4.51, -33.19)
CIE-LCHlch(33.76, 33.49, 277.74°)
OKLaboklab(43.01% -0.0222 -0.0944)
OKLCHoklch(43.01% 0.097 256.8)
XYZxyz(7.9869, 7.8947, 22.9282)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5084 #845E2A
analogous
#2A7D84 #2A5084 #312A84
triadic
#2A5084 #842A50 #50842A
tetradic
#2A5084 #842A7D #845E2A #2A8431
square
#2A5084 #842A7D #845E2A #2A8431
split-complementary
#2A5084 #84312A #7D842A
monochromatic
#0C1827 #1B3456 #2A5084 #396CB2 #5D8CCB

Accessibility & contrast

On white

8.14
#2A5084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2A5084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5084
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5084#FFFFFF#000000##FFFFFF
##2A50841.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#2C4C83
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a5084;
/* rgb */ color: rgb(42, 80, 132);
/* oklch */ color: oklch(43.0% 0.097 256.8);
Tailwind
colors: {
  custom: {
    50: '#6e80a8',
    500: '#2a5084',
    950: '#000000',
  },
}
SCSS
$custom: #2a5084;
$custom-light: #6e80a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5084",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 132
  },
  "hsl": {
    "h": 214.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.09696,
    "h": 256.8
  },
  "luminance": 0.07896
}

Semantic roles & 50–950 ramp

primary
#2A5084
secondary
#B18C59
accent
#9F4DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A5084

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

Preview Lab → · Contrast checker → · Palette generator →

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