#2A5890#2A5890

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

Color values

HEX#2A5890
RGBrgb(42, 88, 144)
HSLhsl(213, 55%, 36%)
HSVhsv(213, 71%, 56%)
CMYKcmyk(70.8%, 38.9%, 0%, 43.5%)
CIE-LABlab(36.90, 3.83, -35.54)
CIE-LCHlch(36.90, 35.74, 276.16°)
OKLaboklab(45.68% -0.0276 -0.1011)
OKLCHoklch(45.68% 0.105 254.7)
XYZxyz(9.4768, 9.4843, 27.7114)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5890 #90622A
analogous
#2A8B90 #2A5890 #2F2A90
triadic
#2A5890 #902A58 #58902A
tetradic
#2A5890 #902A8B #90622A #2A902F
square
#2A5890 #902A8B #90622A #2A902F
split-complementary
#2A5890 #902F2A #8B902A
monochromatic
#0E1E31 #1C3B61 #2A5890 #3875BF #6395D1

Accessibility & contrast

On white

7.25
#2A5890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5890
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5890#FFFFFF#000000##FFFFFF
##2A58901.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a5890;
/* rgb */ color: rgb(42, 88, 144);
/* oklch */ color: oklch(45.7% 0.105 254.7);
Tailwind
colors: {
  custom: {
    50: '#7086b1',
    500: '#2a5890',
    950: '#000000',
  },
}
SCSS
$custom: #2a5890;
$custom-light: #7086b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5890",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 144
  },
  "hsl": {
    "h": 212.941,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45677,
    "c": 0.10483,
    "h": 254.7
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#2A5890
secondary
#B78F5E
accent
#9B4ADE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5890

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

Preview Lab → · Contrast checker → · Palette generator →

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