#2A5583#2A5583

#2A5583 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.090 H 251.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2A5583
RGBrgb(42, 85, 131)
HSLhsl(211, 51%, 34%)
HSVhsv(211, 68%, 51%)
CMYKcmyk(67.9%, 35.1%, 0%, 48.6%)
CIE-LABlab(35.26, 0.88, -30.21)
CIE-LCHlch(35.26, 30.22, 271.68°)
OKLaboklab(44.16% -0.028 -0.0856)
OKLCHoklch(44.16% 0.09 251.9)
XYZxyz(8.2986, 8.6271, 22.6962)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5583 #83582A
analogous
#2A8283 #2A5583 #2C2A83
triadic
#2A5583 #832A55 #55832A
tetradic
#2A5583 #832A82 #83582A #2A832C
square
#2A5583 #832A82 #83582A #2A832C
split-complementary
#2A5583 #832C2A #82832A
monochromatic
#0C1926 #1B3755 #2A5583 #3973B1 #5D92CB

Accessibility & contrast

On white

7.70
#2A5583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2A5583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5583
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5583#FFFFFF#000000##FFFFFF
##2A55831.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415885
Deuteranopia (green-blind)
#344F82
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5583;
/* rgb */ color: rgb(42, 85, 131);
/* oklch */ color: oklch(44.2% 0.090 251.9);
Tailwind
colors: {
  custom: {
    50: '#6e84a7',
    500: '#2a5583',
    950: '#000000',
  },
}
SCSS
$custom: #2a5583;
$custom-light: #6e84a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5583",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 131
  },
  "hsl": {
    "h": 211.011,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44157,
    "c": 0.09006,
    "h": 251.9
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#2A5583
secondary
#B18658
accent
#964DDB
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A5583

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

Preview Lab → · Contrast checker → · Palette generator →

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