#2A5C9E#2A5C9E

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

Color values

HEX#2A5C9E
RGBrgb(42, 92, 158)
HSLhsl(214, 58%, 39%)
HSVhsv(214, 73%, 62%)
CMYKcmyk(73.4%, 41.8%, 0%, 38%)
CIE-LABlab(38.92, 6.57, -40.74)
CIE-LCHlch(38.92, 41.27, 279.16°)
OKLaboklab(47.52% -0.0282 -0.1163)
OKLCHoklch(47.52% 0.12 256.4)
XYZxyz(10.9513, 10.6140, 33.8127)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C9E #9E6C2A
analogous
#2A969E #2A5C9E #322A9E
triadic
#2A5C9E #9E2A5C #5C9E2A
tetradic
#2A5C9E #9E2A96 #9E6C2A #2A9E32
square
#2A5C9E #9E2A96 #9E6C2A #2A9E32
split-complementary
#2A5C9E #9E322A #969E2A
monochromatic
#10243D #1D406E #2A5C9E #3A79CB #6B9AD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5C9E#FFFFFF#000000##FFFFFF
##2A5C9E1.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)
#3D61A1
Deuteranopia (green-blind)
#2A579D
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a5c9e;
/* rgb */ color: rgb(42, 92, 158);
/* oklch */ color: oklch(47.5% 0.120 256.4);
Tailwind
colors: {
  custom: {
    50: '#7389bb',
    500: '#2a5c9e',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c9e;
$custom-light: #7389bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c9e",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 158
  },
  "hsl": {
    "h": 214.138,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47515,
    "c": 0.11971,
    "h": 256.4
  },
  "luminance": 0.10615
}

Semantic roles & 50–950 ramp

primary
#2A5C9E
secondary
#BE9866
accent
#9F47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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