#2A5489#2A5489

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

Color values

HEX#2A5489
RGBrgb(42, 84, 137)
HSLhsl(213, 53%, 35%)
HSVhsv(213, 69%, 54%)
CMYKcmyk(69.3%, 38.7%, 0%, 46.3%)
CIE-LABlab(35.28, 3.78, -33.85)
CIE-LCHlch(35.28, 34.06, 276.37°)
OKLaboklab(44.28% -0.0252 -0.0963)
OKLCHoklch(44.28% 0.1 255.3)
XYZxyz(8.6389, 8.6382, 24.8741)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5489 #895F2A
analogous
#2A8389 #2A5489 #302A89
triadic
#2A5489 #892A54 #54892A
tetradic
#2A5489 #892A83 #895F2A #2A8930
square
#2A5489 #892A83 #895F2A #2A8930
split-complementary
#2A5489 #89302A #83892A
monochromatic
#0D1B2B #1C375A #2A5489 #3871B8 #5F90CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5489#FFFFFF#000000##FFFFFF
##2A54891.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)
#3C588B
Deuteranopia (green-blind)
#2E4F88
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5489;
/* rgb */ color: rgb(42, 84, 137);
/* oklch */ color: oklch(44.3% 0.100 255.3);
Tailwind
colors: {
  custom: {
    50: '#6f83ac',
    500: '#2a5489',
    950: '#000000',
  },
}
SCSS
$custom: #2a5489;
$custom-light: #6f83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5489",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 137
  },
  "hsl": {
    "h": 213.474,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44282,
    "c": 0.09952,
    "h": 255.3
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#2A5489
secondary
#B48D5B
accent
#9C4BDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A5489

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

Preview Lab → · Contrast checker → · Palette generator →

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