#2A5993#2A5993

#2A5993 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.1% C 0.108 H 255.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2A5993
RGBrgb(42, 89, 147)
HSLhsl(213, 56%, 37%)
HSVhsv(213, 71%, 58%)
CMYKcmyk(71.4%, 39.5%, 0%, 42.4%)
CIE-LABlab(37.38, 4.32, -36.60)
CIE-LCHlch(37.38, 36.85, 276.74°)
OKLaboklab(46.1% -0.0278 -0.1042)
OKLCHoklch(46.1% 0.108 255)
XYZxyz(9.7918, 9.7425, 28.9626)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5993 #93642A
analogous
#2A8E93 #2A5993 #302A93
triadic
#2A5993 #932A59 #59932A
tetradic
#2A5993 #932A8E #93642A #2A9330
square
#2A5993 #932A8E #93642A #2A9330
split-complementary
#2A5993 #93302A #8E932A
monochromatic
#0F1F34 #1C3C63 #2A5993 #3876C3 #6596D3

Accessibility & contrast

On white

7.12
#2A5993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5993
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5993#FFFFFF#000000##FFFFFF
##2A59931.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D95
Deuteranopia (green-blind)
#2F5392
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5993;
/* rgb */ color: rgb(42, 89, 147);
/* oklch */ color: oklch(46.1% 0.108 255.0);
Tailwind
colors: {
  custom: {
    50: '#7187b3',
    500: '#2a5993',
    950: '#000000',
  },
}
SCSS
$custom: #2a5993;
$custom-light: #7187b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5993",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 147
  },
  "hsl": {
    "h": 213.143,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46104,
    "c": 0.10788,
    "h": 255
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A5993

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

Preview Lab → · Contrast checker → · Palette generator →

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