#2A5C9D#2A5C9D

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

Color values

HEX#2A5C9D
RGBrgb(42, 92, 157)
HSLhsl(214, 58%, 39%)
HSVhsv(214, 73%, 62%)
CMYKcmyk(73.2%, 41.4%, 0%, 38.4%)
CIE-LABlab(38.86, 6.19, -40.24)
CIE-LCHlch(38.86, 40.71, 278.74°)
OKLaboklab(47.45% -0.0284 -0.1149)
OKLCHoklch(47.45% 0.118 256.1)
XYZxyz(10.8656, 10.5797, 33.3612)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C9D #9D6B2A
analogous
#2A969D #2A5C9D #322A9D
triadic
#2A5C9D #9D2A5C #5C9D2A
tetradic
#2A5C9D #9D2A96 #9D6B2A #2A9D32
square
#2A5C9D #9D2A96 #9D6B2A #2A9D32
split-complementary
#2A5C9D #9D322A #969D2A
monochromatic
#10233C #1D406D #2A5C9D #3A79CA #6A9AD7

Accessibility & contrast

On white

6.74
#2A5C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A5C9D
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C9D#FFFFFF#000000##FFFFFF
##2A5C9D1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D61A0
Deuteranopia (green-blind)
#2B579C
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5c9d;
/* rgb */ color: rgb(42, 92, 157);
/* oklch */ color: oklch(47.4% 0.118 256.1);
Tailwind
colors: {
  custom: {
    50: '#7389ba',
    500: '#2a5c9d',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c9d;
$custom-light: #7389ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c9d",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 157
  },
  "hsl": {
    "h": 213.913,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.11833,
    "h": 256.1
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#2A5C9D
secondary
#BE9765
accent
#9E47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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