#2A5D82#2A5D82

#2A5D82 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.1% C 0.081 H 242.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2A5D82
RGBrgb(42, 93, 130)
HSLhsl(205, 51%, 34%)
HSVhsv(205, 68%, 51%)
CMYKcmyk(67.7%, 28.5%, 0%, 49%)
CIE-LABlab(37.72, -4.53, -25.73)
CIE-LCHlch(37.72, 26.13, 260.02°)
OKLaboklab(46.08% -0.0372 -0.0725)
OKLCHoklch(46.08% 0.081 242.8)
XYZxyz(8.8969, 9.9317, 22.5629)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D82 #824F2A
analogous
#2A827B #2A5D82 #2A3182
triadic
#2A5D82 #822A5D #5D822A
tetradic
#2A5D82 #7B2A82 #824F2A #31822A
square
#2A5D82 #7B2A82 #824F2A #31822A
split-complementary
#2A5D82 #822A31 #827B2A
monochromatic
#0C1B25 #1B3C54 #2A5D82 #397EB0 #5C9CCA

Accessibility & contrast

On white

7.03
#2A5D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2A5D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5D82
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D82#FFFFFF#000000##FFFFFF
##2A5D821.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E84
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#00666A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5d82;
/* rgb */ color: rgb(42, 93, 130);
/* oklch */ color: oklch(46.1% 0.081 242.8);
Tailwind
colors: {
  custom: {
    50: '#6e8aa6',
    500: '#2a5d82',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d82;
$custom-light: #6e8aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d82",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 130
  },
  "hsl": {
    "h": 205.227,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.08148,
    "h": 242.8
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#2A5D82
secondary
#B07D58
accent
#894DDB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A5D82

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

Preview Lab → · Contrast checker → · Palette generator →

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