#2A5E82#2A5E82

#2A5E82 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.3% C 0.081 H 241.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2A5E82
RGBrgb(42, 94, 130)
HSLhsl(205, 51%, 34%)
HSVhsv(205, 68%, 51%)
CMYKcmyk(67.7%, 27.7%, 0%, 49%)
CIE-LABlab(38.04, -5.14, -25.24)
CIE-LCHlch(38.04, 25.76, 258.48°)
OKLaboklab(46.33% -0.0383 -0.0711)
OKLCHoklch(46.33% 0.081 241.7)
XYZxyz(8.9853, 10.1084, 22.5924)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E82 #824E2A
analogous
#2A827A #2A5E82 #2A3282
triadic
#2A5E82 #822A5E #5E822A
tetradic
#2A5E82 #7A2A82 #824E2A #32822A
square
#2A5E82 #7A2A82 #824E2A #32822A
split-complementary
#2A5E82 #822A32 #827A2A
monochromatic
#0C1B25 #1B3D54 #2A5E82 #397FB0 #5C9DCA

Accessibility & contrast

On white

6.95
#2A5E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2A5E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E82
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E82#FFFFFF#000000##FFFFFF
##2A5E821.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5E84
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#00676A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5e82;
/* rgb */ color: rgb(42, 94, 130);
/* oklch */ color: oklch(46.3% 0.081 241.7);
Tailwind
colors: {
  custom: {
    50: '#6e8ba6',
    500: '#2a5e82',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e82;
$custom-light: #6e8ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e82",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 130
  },
  "hsl": {
    "h": 204.545,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4633,
    "c": 0.08072,
    "h": 241.7
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#2A5E82
secondary
#B07C58
accent
#874DDB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2A5E82

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

Preview Lab → · Contrast checker → · Palette generator →

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