#2A5994#2A5994

#2A5994 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.2% C 0.109 H 255.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2A5994
RGBrgb(42, 89, 148)
HSLhsl(213, 56%, 37%)
HSVhsv(213, 72%, 58%)
CMYKcmyk(71.6%, 39.9%, 0%, 42%)
CIE-LABlab(37.43, 4.70, -37.11)
CIE-LCHlch(37.43, 37.40, 277.22°)
OKLaboklab(46.17% -0.0276 -0.1057)
OKLCHoklch(46.17% 0.109 255.4)
XYZxyz(9.8706, 9.7741, 29.3776)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5994 #94652A
analogous
#2A8E94 #2A5994 #302A94
triadic
#2A5994 #942A59 #59942A
tetradic
#2A5994 #942A8E #94652A #2A9430
square
#2A5994 #942A8E #94652A #2A9430
split-complementary
#2A5994 #94302A #8E942A
monochromatic
#0F2035 #1C3C64 #2A5994 #3876C4 #6596D3

Accessibility & contrast

On white

7.11
#2A5994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2A5994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5994
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5994#FFFFFF#000000##FFFFFF
##2A59941.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D96
Deuteranopia (green-blind)
#2E5493
Tritanopia (blue-blind)
#00676F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5994;
/* rgb */ color: rgb(42, 89, 148);
/* oklch */ color: oklch(46.2% 0.109 255.4);
Tailwind
colors: {
  custom: {
    50: '#7187b4',
    500: '#2a5994',
    950: '#000000',
  },
}
SCSS
$custom: #2a5994;
$custom-light: #7187b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5994",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 148
  },
  "hsl": {
    "h": 213.396,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46167,
    "c": 0.10927,
    "h": 255.4
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

primary
#2A5994
secondary
#B99260
accent
#9C49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2A5994

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

Preview Lab → · Contrast checker → · Palette generator →

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