#2A5995#2A5995

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

Color values

HEX#2A5995
RGBrgb(42, 89, 149)
HSLhsl(214, 56%, 37%)
HSVhsv(214, 72%, 58%)
CMYKcmyk(71.8%, 40.3%, 0%, 41.6%)
CIE-LABlab(37.49, 5.08, -37.62)
CIE-LCHlch(37.49, 37.96, 277.69°)
OKLaboklab(46.23% -0.0273 -0.1072)
OKLCHoklch(46.23% 0.111 255.7)
XYZxyz(9.9501, 9.8059, 29.7963)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5995 #95662A
analogous
#2A8E95 #2A5995 #312A95
triadic
#2A5995 #952A59 #59952A
tetradic
#2A5995 #952A8E #95662A #2A9531
square
#2A5995 #952A8E #95662A #2A9531
split-complementary
#2A5995 #95312A #8E952A
monochromatic
#0F2036 #1D3C65 #2A5995 #3776C5 #6696D4

Accessibility & contrast

On white

7.09
#2A5995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2A5995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5995
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5995#FFFFFF#000000##FFFFFF
##2A59951.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E97
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5995;
/* rgb */ color: rgb(42, 89, 149);
/* oklch */ color: oklch(46.2% 0.111 255.7);
Tailwind
colors: {
  custom: {
    50: '#7187b4',
    500: '#2a5995',
    950: '#000000',
  },
}
SCSS
$custom: #2a5995;
$custom-light: #7187b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5995",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 213.645,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.11066,
    "h": 255.7
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A5995

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

Preview Lab → · Contrast checker → · Palette generator →

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