#2A5488#2A5488

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

Color values

HEX#2A5488
RGBrgb(42, 84, 136)
HSLhsl(213, 53%, 35%)
HSVhsv(213, 69%, 53%)
CMYKcmyk(69.1%, 38.2%, 0%, 46.7%)
CIE-LABlab(35.22, 3.40, -33.33)
CIE-LCHlch(35.22, 33.50, 275.83°)
OKLaboklab(44.22% -0.0255 -0.0947)
OKLCHoklch(44.22% 0.098 254.9)
XYZxyz(8.5675, 8.6096, 24.4981)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5488 #885E2A
analogous
#2A8388 #2A5488 #2F2A88
triadic
#2A5488 #882A54 #54882A
tetradic
#2A5488 #882A83 #885E2A #2A882F
square
#2A5488 #882A83 #885E2A #2A882F
split-complementary
#2A5488 #882F2A #83882A
monochromatic
#0D1A2A #1C3759 #2A5488 #3871B7 #5F90CE

Accessibility & contrast

On white

7.71
#2A5488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2A5488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5488
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5488#FFFFFF#000000##FFFFFF
##2A54881.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588A
Deuteranopia (green-blind)
#2F4F87
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5488;
/* rgb */ color: rgb(42, 84, 136);
/* oklch */ color: oklch(44.2% 0.098 254.9);
Tailwind
colors: {
  custom: {
    50: '#6f83ab',
    500: '#2a5488',
    950: '#000000',
  },
}
SCSS
$custom: #2a5488;
$custom-light: #6f83ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5488",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 136
  },
  "hsl": {
    "h": 213.191,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4422,
    "c": 0.09811,
    "h": 254.9
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#2A5488
secondary
#B38C5B
accent
#9C4CDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A5488

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

Preview Lab → · Contrast checker → · Palette generator →

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