#2A5D99#2A5D99

#2A5D99 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.4% C 0.112 H 254.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2A5D99
RGBrgb(42, 93, 153)
HSLhsl(212, 57%, 38%)
HSVhsv(212, 73%, 60%)
CMYKcmyk(72.5%, 39.2%, 0%, 40%)
CIE-LABlab(38.93, 4.02, -37.73)
CIE-LCHlch(38.93, 37.95, 276.08°)
OKLaboklab(47.43% -0.0303 -0.1075)
OKLCHoklch(47.43% 0.112 254.2)
XYZxyz(10.6168, 10.6197, 31.6211)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D99 #99662A
analogous
#2A9499 #2A5D99 #2E2A99
triadic
#2A5D99 #992A5D #5D992A
tetradic
#2A5D99 #992A94 #99662A #2A992E
square
#2A5D99 #992A94 #99662A #2A992E
split-complementary
#2A5D99 #992E2A #94992A
monochromatic
#102339 #1D4069 #2A5D99 #387AC8 #689AD6

Accessibility & contrast

On white

6.72
#2A5D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2A5D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5D99
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D99#FFFFFF#000000##FFFFFF
##2A5D991.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619B
Deuteranopia (green-blind)
#305798
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a5d99;
/* rgb */ color: rgb(42, 93, 153);
/* oklch */ color: oklch(47.4% 0.112 254.2);
Tailwind
colors: {
  custom: {
    50: '#728ab7',
    500: '#2a5d99',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d99;
$custom-light: #728ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d99",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 153
  },
  "hsl": {
    "h": 212.432,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47429,
    "c": 0.1117,
    "h": 254.2
  },
  "luminance": 0.10621
}

Semantic roles & 50–950 ramp

primary
#2A5D99
secondary
#BC9363
accent
#9A48E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5D99

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

Preview Lab → · Contrast checker → · Palette generator →

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