#2A5591#2A5591

#2A5591 is a mid, moderate cyan. Relative luminance 0.090; OKLCH L 45.0% C 0.110 H 257.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2A5591
RGBrgb(42, 85, 145)
HSLhsl(215, 55%, 37%)
HSVhsv(215, 71%, 57%)
CMYKcmyk(71%, 41.4%, 0%, 43.1%)
CIE-LABlab(36.05, 6.16, -37.50)
CIE-LCHlch(36.05, 38.00, 279.33°)
OKLaboklab(45.03% -0.0243 -0.1069)
OKLCHoklch(45.03% 0.11 257.2)
XYZxyz(9.3123, 9.0326, 28.0353)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5591 #91662A
analogous
#2A8991 #2A5591 #322A91
triadic
#2A5591 #912A55 #55912A
tetradic
#2A5591 #912A89 #91662A #2A9132
square
#2A5591 #912A89 #91662A #2A9132
split-complementary
#2A5591 #91322A #89912A
monochromatic
#0F1D32 #1C3962 #2A5591 #3871C0 #6392D2

Accessibility & contrast

On white

7.48
#2A5591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2A5591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5591
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5591#FFFFFF#000000##FFFFFF
##2A55911.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A93
Deuteranopia (green-blind)
#295090
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a5591;
/* rgb */ color: rgb(42, 85, 145);
/* oklch */ color: oklch(45.0% 0.110 257.2);
Tailwind
colors: {
  custom: {
    50: '#7084b1',
    500: '#2a5591',
    950: '#000000',
  },
}
SCSS
$custom: #2a5591;
$custom-light: #7084b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5591",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 145
  },
  "hsl": {
    "h": 214.951,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45032,
    "c": 0.10966,
    "h": 257.2
  },
  "luminance": 0.09034
}

Semantic roles & 50–950 ramp

primary
#2A5591
secondary
#B8935F
accent
#A049DE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2A5591

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

Preview Lab → · Contrast checker → · Palette generator →

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