#2A5B96#2A5B96

#2A5B96 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.110 H 254.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2A5B96
RGBrgb(42, 91, 150)
HSLhsl(213, 56%, 38%)
HSVhsv(213, 72%, 59%)
CMYKcmyk(72%, 39.3%, 0%, 41.2%)
CIE-LABlab(38.16, 4.17, -37.17)
CIE-LCHlch(38.16, 37.40, 276.40°)
OKLaboklab(46.77% -0.0291 -0.1059)
OKLCHoklch(46.77% 0.11 254.6)
XYZxyz(10.1989, 10.1753, 30.2748)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B96 #96652A
analogous
#2A9196 #2A5B96 #2F2A96
triadic
#2A5B96 #962A5B #5B962A
tetradic
#2A5B96 #962A91 #96652A #2A962F
square
#2A5B96 #962A91 #96652A #2A962F
split-complementary
#2A5B96 #962F2A #91962A
monochromatic
#0F2136 #1D3E66 #2A5B96 #3778C6 #6698D4

Accessibility & contrast

On white

6.92
#2A5B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2A5B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5B96
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B96#FFFFFF#000000##FFFFFF
##2A5B961.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405F98
Deuteranopia (green-blind)
#305595
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5b96;
/* rgb */ color: rgb(42, 91, 150);
/* oklch */ color: oklch(46.8% 0.110 254.6);
Tailwind
colors: {
  custom: {
    50: '#7189b5',
    500: '#2a5b96',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b96;
$custom-light: #7189b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b96",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 150
  },
  "hsl": {
    "h": 212.778,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46767,
    "c": 0.1098,
    "h": 254.6
  },
  "luminance": 0.10176
}

Semantic roles & 50–950 ramp

primary
#2A5B96
secondary
#BA9261
accent
#9B48E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5B96

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

Preview Lab → · Contrast checker → · Palette generator →

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