#2A5C82#2A5C82

#2A5C82 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.8% C 0.082 H 244.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2A5C82
RGBrgb(42, 92, 130)
HSLhsl(206, 51%, 34%)
HSVhsv(206, 68%, 51%)
CMYKcmyk(67.7%, 29.2%, 0%, 49%)
CIE-LABlab(37.40, -3.91, -26.23)
CIE-LCHlch(37.40, 26.52, 261.53°)
OKLaboklab(45.83% -0.0361 -0.0739)
OKLCHoklch(45.83% 0.082 244)
XYZxyz(8.8097, 9.7573, 22.5338)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C82 #82502A
analogous
#2A827C #2A5C82 #2A3082
triadic
#2A5C82 #822A5C #5C822A
tetradic
#2A5C82 #7C2A82 #82502A #30822A
square
#2A5C82 #7C2A82 #82502A #30822A
split-complementary
#2A5C82 #822A30 #827C2A
monochromatic
#0C1B25 #1B3B54 #2A5C82 #397DB0 #5C9BCA

Accessibility & contrast

On white

7.11
#2A5C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2A5C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C82
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C82#FFFFFF#000000##FFFFFF
##2A5C821.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5D84
Deuteranopia (green-blind)
#3F5481
Tritanopia (blue-blind)
#006569
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5c82;
/* rgb */ color: rgb(42, 92, 130);
/* oklch */ color: oklch(45.8% 0.082 244.0);
Tailwind
colors: {
  custom: {
    50: '#6e8aa6',
    500: '#2a5c82',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c82;
$custom-light: #6e8aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c82",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 130
  },
  "hsl": {
    "h": 205.909,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.08226,
    "h": 244
  },
  "luminance": 0.09758
}

Semantic roles & 50–950 ramp

primary
#2A5C82
secondary
#B07E58
accent
#8A4DDB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A5C82

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

Preview Lab → · Contrast checker → · Palette generator →

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