#2C5A8A#2C5A8A

#2C5A8A is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.9% C 0.094 H 251.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2C5A8A
RGBrgb(44, 90, 138)
HSLhsl(211, 52%, 36%)
HSVhsv(211, 68%, 54%)
CMYKcmyk(68.1%, 34.8%, 0%, 45.9%)
CIE-LABlab(37.27, 0.65, -31.31)
CIE-LCHlch(37.27, 31.32, 271.19°)
OKLaboklab(45.88% -0.0298 -0.0887)
OKLCHoklch(45.88% 0.094 251.4)
XYZxyz(9.2806, 9.6818, 25.4195)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5A8A #8A5C2C
analogous
#2C898A #2C5A8A #2D2C8A
triadic
#2C5A8A #8A2C5A #5A8A2C
tetradic
#2C5A8A #8A2C89 #8A5C2C #2C8A2D
square
#2C5A8A #8A2C89 #8A5C2C #2C8A2D
split-complementary
#2C5A8A #8A2D2C #898A2C
monochromatic
#0E1D2D #1D3C5C #2C5A8A #3B78B8 #6397CD

Accessibility & contrast

On white

7.15
#2C5A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2C5A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5A8A
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5A8A#FFFFFF#000000##FFFFFF
##2C5A8A1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8C
Deuteranopia (green-blind)
#385489
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c5a8a;
/* rgb */ color: rgb(44, 90, 138);
/* oklch */ color: oklch(45.9% 0.094 251.4);
Tailwind
colors: {
  custom: {
    50: '#7088ac',
    500: '#2c5a8a',
    950: '#000000',
  },
}
SCSS
$custom: #2c5a8a;
$custom-light: #7088ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5a8a",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 210.638,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45877,
    "c": 0.09361,
    "h": 251.4
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#2C5A8A
secondary
#B48A5E
accent
#954DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2C5A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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