#2A5896#2A5896

#2A5896 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.1% C 0.113 H 256.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2A5896
RGBrgb(42, 88, 150)
HSLhsl(214, 56%, 38%)
HSVhsv(214, 72%, 59%)
CMYKcmyk(72%, 41.3%, 0%, 41.2%)
CIE-LABlab(37.25, 6.11, -38.61)
CIE-LCHlch(37.25, 39.09, 278.99°)
OKLaboklab(46.06% -0.0261 -0.1101)
OKLCHoklch(46.06% 0.113 256.7)
XYZxyz(9.9476, 9.6726, 30.1910)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5896 #96682A
analogous
#2A8E96 #2A5896 #322A96
triadic
#2A5896 #962A58 #58962A
tetradic
#2A5896 #962A8E #96682A #2A9632
square
#2A5896 #962A8E #96682A #2A9632
split-complementary
#2A5896 #96322A #8E962A
monochromatic
#0F2036 #1D3C66 #2A5896 #3774C6 #6695D4

Accessibility & contrast

On white

7.16
#2A5896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2A5896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5896
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5896#FFFFFF#000000##FFFFFF
##2A58961.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D98
Deuteranopia (green-blind)
#2A5395
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5896;
/* rgb */ color: rgb(42, 88, 150);
/* oklch */ color: oklch(46.1% 0.113 256.7);
Tailwind
colors: {
  custom: {
    50: '#7186b5',
    500: '#2a5896',
    950: '#000000',
  },
}
SCSS
$custom: #2a5896;
$custom-light: #7186b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5896",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 150
  },
  "hsl": {
    "h": 214.444,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46061,
    "c": 0.1132,
    "h": 256.7
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A5896

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

Preview Lab → · Contrast checker → · Palette generator →

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