#2A5E96#2A5E96

#2A5E96 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.5% C 0.107 H 252.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2A5E96
RGBrgb(42, 94, 150)
HSLhsl(211, 56%, 38%)
HSVhsv(211, 72%, 59%)
CMYKcmyk(72%, 37.3%, 0%, 41.2%)
CIE-LABlab(39.07, 2.25, -35.72)
CIE-LCHlch(39.07, 35.79, 273.60°)
OKLaboklab(47.48% -0.0321 -0.1016)
OKLCHoklch(47.48% 0.107 252.5)
XYZxyz(10.4605, 10.6985, 30.3620)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E96 #96622A
analogous
#2A9496 #2A5E96 #2C2A96
triadic
#2A5E96 #962A5E #5E962A
tetradic
#2A5E96 #962A94 #96622A #2A962C
square
#2A5E96 #962A94 #96622A #2A962C
split-complementary
#2A5E96 #962C2A #94962A
monochromatic
#0F2236 #1D4066 #2A5E96 #377CC6 #669BD4

Accessibility & contrast

On white

6.69
#2A5E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2A5E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E96
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E96#FFFFFF#000000##FFFFFF
##2A5E961.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456298
Deuteranopia (green-blind)
#355795
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a5e96;
/* rgb */ color: rgb(42, 94, 150);
/* oklch */ color: oklch(47.5% 0.107 252.5);
Tailwind
colors: {
  custom: {
    50: '#718bb5',
    500: '#2a5e96',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e96;
$custom-light: #718bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e96",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 150
  },
  "hsl": {
    "h": 211.111,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4748,
    "c": 0.10654,
    "h": 252.5
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#2A5E96
secondary
#BA9061
accent
#9748E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5E96

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

Preview Lab → · Contrast checker → · Palette generator →

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