#2A5C90#2A5C90

#2A5C90 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.6% C 0.101 H 251.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2A5C90
RGBrgb(42, 92, 144)
HSLhsl(211, 55%, 36%)
HSVhsv(211, 71%, 56%)
CMYKcmyk(70.8%, 36.1%, 0%, 43.5%)
CIE-LABlab(38.13, 1.27, -33.59)
CIE-LCHlch(38.13, 33.62, 272.16°)
OKLaboklab(46.64% -0.0317 -0.0954)
OKLCHoklch(46.64% 0.101 251.6)
XYZxyz(9.8142, 10.1591, 27.8238)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C90 #905E2A
analogous
#2A8F90 #2A5C90 #2B2A90
triadic
#2A5C90 #902A5C #5C902A
tetradic
#2A5C90 #902A8F #905E2A #2A902B
square
#2A5C90 #902A8F #905E2A #2A902B
split-complementary
#2A5C90 #902B2A #8F902A
monochromatic
#0E1F31 #1C3E61 #2A5C90 #387ABF #6399D1

Accessibility & contrast

On white

6.93
#2A5C90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2A5C90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5C90
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C90#FFFFFF#000000##FFFFFF
##2A5C901.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F92
Deuteranopia (green-blind)
#36558F
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5c90;
/* rgb */ color: rgb(42, 92, 144);
/* oklch */ color: oklch(46.6% 0.101 251.6);
Tailwind
colors: {
  custom: {
    50: '#7089b1',
    500: '#2a5c90',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c90;
$custom-light: #7089b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c90",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 144
  },
  "hsl": {
    "h": 210.588,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46635,
    "c": 0.10054,
    "h": 251.6
  },
  "luminance": 0.1016
}

Semantic roles & 50–950 ramp

primary
#2A5C90
secondary
#B78C5E
accent
#954ADE
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5C90

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

Preview Lab → · Contrast checker → · Palette generator →

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