#2A5384#2A5384

#2A5384 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.094 H 254.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2A5384
RGBrgb(42, 83, 132)
HSLhsl(213, 52%, 34%)
HSVhsv(213, 68%, 52%)
CMYKcmyk(68.2%, 37.1%, 0%, 48.2%)
CIE-LABlab(34.69, 2.55, -31.72)
CIE-LCHlch(34.69, 31.82, 274.59°)
OKLaboklab(43.73% -0.0255 -0.09)
OKLCHoklch(43.73% 0.094 254.2)
XYZxyz(8.2114, 8.3439, 23.0031)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5384 #845B2A
analogous
#2A8084 #2A5384 #2E2A84
triadic
#2A5384 #842A53 #53842A
tetradic
#2A5384 #842A80 #845B2A #2A842E
square
#2A5384 #842A80 #845B2A #2A842E
split-complementary
#2A5384 #842E2A #80842A
monochromatic
#0C1927 #1B3656 #2A5384 #3970B2 #5D8FCB

Accessibility & contrast

On white

7.87
#2A5384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A5384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5384
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5384#FFFFFF#000000##FFFFFF
##2A53841.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5686
Deuteranopia (green-blind)
#314E83
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5384;
/* rgb */ color: rgb(42, 83, 132);
/* oklch */ color: oklch(43.7% 0.094 254.2);
Tailwind
colors: {
  custom: {
    50: '#6e83a8',
    500: '#2a5384',
    950: '#000000',
  },
}
SCSS
$custom: #2a5384;
$custom-light: #6e83a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5384",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 132
  },
  "hsl": {
    "h": 212.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43731,
    "c": 0.09359,
    "h": 254.2
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#2A5384
secondary
#B18959
accent
#9A4DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A5384

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

Preview Lab → · Contrast checker → · Palette generator →

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