#2A5A96#2A5A96

#2A5A96 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.5% C 0.111 H 255.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2A5A96
RGBrgb(42, 90, 150)
HSLhsl(213, 56%, 38%)
HSVhsv(213, 72%, 59%)
CMYKcmyk(72%, 40%, 0%, 41.2%)
CIE-LABlab(37.85, 4.81, -37.65)
CIE-LCHlch(37.85, 37.96, 277.29°)
OKLaboklab(46.53% -0.0281 -0.1073)
OKLCHoklch(46.53% 0.111 255.3)
XYZxyz(10.1140, 10.0055, 30.2465)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5A96 #96662A
analogous
#2A9096 #2A5A96 #302A96
triadic
#2A5A96 #962A5A #5A962A
tetradic
#2A5A96 #962A90 #96662A #2A9630
square
#2A5A96 #962A90 #96662A #2A9630
split-complementary
#2A5A96 #96302A #90962A
monochromatic
#0F2136 #1D3D66 #2A5A96 #3777C6 #6697D4

Accessibility & contrast

On white

7.00
#2A5A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2A5A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5A96
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5A96#FFFFFF#000000##FFFFFF
##2A5A961.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F98
Deuteranopia (green-blind)
#2E5495
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5a96;
/* rgb */ color: rgb(42, 90, 150);
/* oklch */ color: oklch(46.5% 0.111 255.3);
Tailwind
colors: {
  custom: {
    50: '#7188b5',
    500: '#2a5a96',
    950: '#000000',
  },
}
SCSS
$custom: #2a5a96;
$custom-light: #7188b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5a96",
  "rgb": {
    "r": 42,
    "g": 90,
    "b": 150
  },
  "hsl": {
    "h": 213.333,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46531,
    "c": 0.11092,
    "h": 255.3
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#2A5A96
secondary
#BA9361
accent
#9C48E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5A96

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

Preview Lab → · Contrast checker → · Palette generator →

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