#2A5589#2A5589

#2A5589 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.5% C 0.098 H 254.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2A5589
RGBrgb(42, 85, 137)
HSLhsl(213, 53%, 35%)
HSVhsv(213, 69%, 54%)
CMYKcmyk(69.3%, 38%, 0%, 46.3%)
CIE-LABlab(35.59, 3.13, -33.36)
CIE-LCHlch(35.59, 33.51, 275.36°)
OKLaboklab(44.52% -0.0263 -0.0948)
OKLCHoklch(44.52% 0.098 254.5)
XYZxyz(8.7171, 8.7945, 24.9002)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5589 #895E2A
analogous
#2A8589 #2A5589 #2E2A89
triadic
#2A5589 #892A55 #55892A
tetradic
#2A5589 #892A85 #895E2A #2A892E
square
#2A5589 #892A85 #895E2A #2A892E
split-complementary
#2A5589 #892E2A #85892A
monochromatic
#0D1B2B #1C385A #2A5589 #3872B8 #5F91CE

Accessibility & contrast

On white

7.61
#2A5589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2A5589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5589
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5589#FFFFFF#000000##FFFFFF
##2A55891.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598B
Deuteranopia (green-blind)
#305088
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a5589;
/* rgb */ color: rgb(42, 85, 137);
/* oklch */ color: oklch(44.5% 0.098 254.5);
Tailwind
colors: {
  custom: {
    50: '#6f84ac',
    500: '#2a5589',
    950: '#000000',
  },
}
SCSS
$custom: #2a5589;
$custom-light: #6f84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5589",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 137
  },
  "hsl": {
    "h": 212.842,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.09839,
    "h": 254.5
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#2A5589
secondary
#B48C5B
accent
#9B4BDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A5589

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

Preview Lab → · Contrast checker → · Palette generator →

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