#2A5484#2A5484

#2A5484 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.0% C 0.092 H 253.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2A5484
RGBrgb(42, 84, 132)
HSLhsl(212, 52%, 34%)
HSVhsv(212, 68%, 52%)
CMYKcmyk(68.2%, 36.4%, 0%, 48.2%)
CIE-LABlab(35.00, 1.90, -31.23)
CIE-LCHlch(35.00, 31.29, 273.48°)
OKLaboklab(43.97% -0.0266 -0.0886)
OKLCHoklch(43.97% 0.093 253.3)
XYZxyz(8.2885, 8.4980, 23.0288)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5484 #845A2A
analogous
#2A8184 #2A5484 #2D2A84
triadic
#2A5484 #842A54 #54842A
tetradic
#2A5484 #842A81 #845A2A #2A842D
square
#2A5484 #842A81 #845A2A #2A842D
split-complementary
#2A5484 #842D2A #81842A
monochromatic
#0C1927 #1B3656 #2A5484 #3972B2 #5D91CB

Accessibility & contrast

On white

7.78
#2A5484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2A5484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5484
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5484#FFFFFF#000000##FFFFFF
##2A54841.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5786
Deuteranopia (green-blind)
#324E83
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5484;
/* rgb */ color: rgb(42, 84, 132);
/* oklch */ color: oklch(44.0% 0.092 253.3);
Tailwind
colors: {
  custom: {
    50: '#6e83a8',
    500: '#2a5484',
    950: '#000000',
  },
}
SCSS
$custom: #2a5484;
$custom-light: #6e83a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5484",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 132
  },
  "hsl": {
    "h": 212,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43974,
    "c": 0.0925,
    "h": 253.3
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#2A5484
secondary
#B18859
accent
#994DDB
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A5484

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

Preview Lab → · Contrast checker → · Palette generator →

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