#2A5889#2A5889

#2A5889 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.095 H 252.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2A5889
RGBrgb(42, 88, 137)
HSLhsl(211, 53%, 35%)
HSVhsv(211, 69%, 54%)
CMYKcmyk(69.3%, 35.8%, 0%, 46.3%)
CIE-LABlab(36.51, 1.20, -31.90)
CIE-LCHlch(36.51, 31.92, 272.15°)
OKLaboklab(45.25% -0.0295 -0.0905)
OKLCHoklch(45.25% 0.095 252)
XYZxyz(8.9583, 9.2769, 24.9806)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5889 #895B2A
analogous
#2A8889 #2A5889 #2B2A89
triadic
#2A5889 #892A58 #58892A
tetradic
#2A5889 #892A88 #895B2A #2A892B
square
#2A5889 #892A88 #895B2A #2A892B
split-complementary
#2A5889 #892B2A #88892A
monochromatic
#0D1C2B #1C3A5A #2A5889 #3876B8 #5F95CE

Accessibility & contrast

On white

7.35
#2A5889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2A5889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5889
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5889#FFFFFF#000000##FFFFFF
##2A58891.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8B
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#00636A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a5889;
/* rgb */ color: rgb(42, 88, 137);
/* oklch */ color: oklch(45.2% 0.095 252.0);
Tailwind
colors: {
  custom: {
    50: '#6f86ab',
    500: '#2a5889',
    950: '#000000',
  },
}
SCSS
$custom: #2a5889;
$custom-light: #6f86ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5889",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 137
  },
  "hsl": {
    "h": 210.947,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45247,
    "c": 0.09518,
    "h": 252
  },
  "luminance": 0.09278
}

Semantic roles & 50–950 ramp

primary
#2A5889
secondary
#B4895B
accent
#964BDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5889

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

Preview Lab → · Contrast checker → · Palette generator →

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