#2A5184#2A5184

#2A5184 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.096 H 255.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2A5184
RGBrgb(42, 81, 132)
HSLhsl(214, 52%, 34%)
HSVhsv(214, 68%, 52%)
CMYKcmyk(68.2%, 38.6%, 0%, 48.2%)
CIE-LABlab(34.07, 3.85, -32.70)
CIE-LCHlch(34.07, 32.93, 276.72°)
OKLaboklab(43.25% -0.0233 -0.0929)
OKLCHoklch(43.25% 0.096 255.9)
XYZxyz(8.0606, 8.0422, 22.9528)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5184 #845D2A
analogous
#2A7E84 #2A5184 #302A84
triadic
#2A5184 #842A51 #51842A
tetradic
#2A5184 #842A7E #845D2A #2A8430
square
#2A5184 #842A7E #845D2A #2A8430
split-complementary
#2A5184 #84302A #7E842A
monochromatic
#0C1827 #1B3556 #2A5184 #396DB2 #5D8DCB

Accessibility & contrast

On white

8.05
#2A5184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A5184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5184
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5184#FFFFFF#000000##FFFFFF
##2A51841.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5586
Deuteranopia (green-blind)
#2D4C83
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5184;
/* rgb */ color: rgb(42, 81, 132);
/* oklch */ color: oklch(43.2% 0.096 255.9);
Tailwind
colors: {
  custom: {
    50: '#6e81a8',
    500: '#2a5184',
    950: '#000000',
  },
}
SCSS
$custom: #2a5184;
$custom-light: #6e81a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5184",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 132
  },
  "hsl": {
    "h": 214,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43249,
    "c": 0.09582,
    "h": 255.9
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#2A5184
secondary
#B18B59
accent
#9D4DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A5184

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

Preview Lab → · Contrast checker → · Palette generator →

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