#2A5891#2A5891

#2A5891 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.7% C 0.106 H 255.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2A5891
RGBrgb(42, 88, 145)
HSLhsl(213, 55%, 37%)
HSVhsv(213, 71%, 57%)
CMYKcmyk(71%, 39.3%, 0%, 43.1%)
CIE-LABlab(36.96, 4.21, -36.05)
CIE-LCHlch(36.96, 36.30, 276.66°)
OKLaboklab(45.74% -0.0273 -0.1026)
OKLCHoklch(45.74% 0.106 255.1)
XYZxyz(9.5535, 9.5150, 28.1157)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5891 #91632A
analogous
#2A8C91 #2A5891 #302A91
triadic
#2A5891 #912A58 #58912A
tetradic
#2A5891 #912A8C #91632A #2A9130
square
#2A5891 #912A8C #91632A #2A9130
split-complementary
#2A5891 #91302A #8C912A
monochromatic
#0F1E32 #1C3B62 #2A5891 #3875C0 #6395D2

Accessibility & contrast

On white

7.23
#2A5891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2A5891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5891
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5891#FFFFFF#000000##FFFFFF
##2A58911.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5C93
Deuteranopia (green-blind)
#2F5390
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a5891;
/* rgb */ color: rgb(42, 88, 145);
/* oklch */ color: oklch(45.7% 0.106 255.1);
Tailwind
colors: {
  custom: {
    50: '#7086b1',
    500: '#2a5891',
    950: '#000000',
  },
}
SCSS
$custom: #2a5891;
$custom-light: #7086b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5891",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 145
  },
  "hsl": {
    "h": 213.204,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4574,
    "c": 0.10623,
    "h": 255.1
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#2A5891
secondary
#B8905F
accent
#9C49DE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2A5891

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

Preview Lab → · Contrast checker → · Palette generator →

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