#2A5482#2A5482

#2A5482 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.9% C 0.090 H 252.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2A5482
RGBrgb(42, 84, 130)
HSLhsl(211, 51%, 34%)
HSVhsv(211, 68%, 51%)
CMYKcmyk(67.7%, 35.4%, 0%, 49%)
CIE-LABlab(34.89, 1.15, -30.17)
CIE-LCHlch(34.89, 30.20, 272.19°)
OKLaboklab(43.85% -0.0271 -0.0855)
OKLCHoklch(43.85% 0.09 252.4)
XYZxyz(8.1530, 8.4438, 22.3149)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5482 #82582A
analogous
#2A8082 #2A5482 #2C2A82
triadic
#2A5482 #822A54 #54822A
tetradic
#2A5482 #822A80 #82582A #2A822C
square
#2A5482 #822A80 #82582A #2A822C
split-complementary
#2A5482 #822C2A #80822A
monochromatic
#0C1825 #1B3654 #2A5482 #3972B0 #5C91CA

Accessibility & contrast

On white

7.81
#2A5482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2A5482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5482
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5482#FFFFFF#000000##FFFFFF
##2A54821.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405784
Deuteranopia (green-blind)
#344E81
Tritanopia (blue-blind)
#005F65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5482;
/* rgb */ color: rgb(42, 84, 130);
/* oklch */ color: oklch(43.9% 0.090 252.4);
Tailwind
colors: {
  custom: {
    50: '#6d83a6',
    500: '#2a5482',
    950: '#000000',
  },
}
SCSS
$custom: #2a5482;
$custom-light: #6d83a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5482",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 130
  },
  "hsl": {
    "h": 211.364,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.08972,
    "h": 252.4
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#2A5482
secondary
#B08658
accent
#974DDB
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A5482

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

Preview Lab → · Contrast checker → · Palette generator →

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