#2A5996#2A5996

#2A5996 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.3% C 0.112 H 256.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2A5996
RGBrgb(42, 89, 150)
HSLhsl(214, 56%, 38%)
HSVhsv(214, 72%, 59%)
CMYKcmyk(72%, 40.7%, 0%, 41.2%)
CIE-LABlab(37.55, 5.46, -38.13)
CIE-LCHlch(37.55, 38.52, 278.15°)
OKLaboklab(46.29% -0.0271 -0.1087)
OKLCHoklch(46.29% 0.112 256)
XYZxyz(10.0302, 9.8379, 30.2185)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5996 #96672A
analogous
#2A8F96 #2A5996 #312A96
triadic
#2A5996 #962A59 #59962A
tetradic
#2A5996 #962A8F #96672A #2A9631
square
#2A5996 #962A8F #96672A #2A9631
split-complementary
#2A5996 #96312A #8F962A
monochromatic
#0F2036 #1D3D66 #2A5996 #3775C6 #6696D4

Accessibility & contrast

On white

7.08
#2A5996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2A5996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5996
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5996#FFFFFF#000000##FFFFFF
##2A59961.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E98
Deuteranopia (green-blind)
#2C5495
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5996;
/* rgb */ color: rgb(42, 89, 150);
/* oklch */ color: oklch(46.3% 0.112 256.0);
Tailwind
colors: {
  custom: {
    50: '#7187b5',
    500: '#2a5996',
    950: '#000000',
  },
}
SCSS
$custom: #2a5996;
$custom-light: #7187b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5996",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 150
  },
  "hsl": {
    "h": 213.889,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.11206,
    "h": 256
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#2A5996
secondary
#BA9461
accent
#9E48E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5996

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

Preview Lab → · Contrast checker → · Palette generator →

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