#2A5A90#2A5A90

#2A5A90 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.2% C 0.103 H 253.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2A5A90
RGBrgb(42, 90, 144)
HSLhsl(212, 55%, 36%)
HSVhsv(212, 71%, 56%)
CMYKcmyk(70.8%, 37.5%, 0%, 43.5%)
CIE-LABlab(37.51, 2.54, -34.57)
CIE-LCHlch(37.51, 34.66, 274.21°)
OKLaboklab(46.16% -0.0296 -0.0983)
OKLCHoklch(46.16% 0.103 253.2)
XYZxyz(9.6432, 9.8172, 27.7668)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5A90 #90602A
analogous
#2A8D90 #2A5A90 #2D2A90
triadic
#2A5A90 #902A5A #5A902A
tetradic
#2A5A90 #902A8D #90602A #2A902D
square
#2A5A90 #902A8D #90602A #2A902D
split-complementary
#2A5A90 #902D2A #8D902A
monochromatic
#0E1F31 #1C3C61 #2A5A90 #3878BF #6397D1

Accessibility & contrast

On white

7.09
#2A5A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2A5A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5A90
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5A90#FFFFFF#000000##FFFFFF
##2A5A901.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425E92
Deuteranopia (green-blind)
#33548F
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5a90;
/* rgb */ color: rgb(42, 90, 144);
/* oklch */ color: oklch(46.2% 0.103 253.2);
Tailwind
colors: {
  custom: {
    50: '#7088b1',
    500: '#2a5a90',
    950: '#000000',
  },
}
SCSS
$custom: #2a5a90;
$custom-light: #7088b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5a90",
  "rgb": {
    "r": 42,
    "g": 90,
    "b": 144
  },
  "hsl": {
    "h": 211.765,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46155,
    "c": 0.10264,
    "h": 253.2
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#2A5A90
secondary
#B78E5E
accent
#984ADE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5A90

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

Preview Lab → · Contrast checker → · Palette generator →

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