#2C5789#2C5789

#2C5789 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.1% C 0.095 H 253.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2C5789
RGBrgb(44, 87, 137)
HSLhsl(212, 51%, 35%)
HSVhsv(212, 68%, 54%)
CMYKcmyk(67.9%, 36.5%, 0%, 46.3%)
CIE-LABlab(36.28, 2.20, -32.25)
CIE-LCHlch(36.28, 32.33, 273.90°)
OKLaboklab(45.09% -0.0268 -0.0915)
OKLCHoklch(45.09% 0.095 253.7)
XYZxyz(8.9606, 9.1571, 24.9573)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5789 #895E2C
analogous
#2C8589 #2C5789 #2F2C89
triadic
#2C5789 #892C57 #57892C
tetradic
#2C5789 #892C85 #895E2C #2C892F
square
#2C5789 #892C85 #895E2C #2C892F
split-complementary
#2C5789 #892F2C #85892C
monochromatic
#0E1C2C #1D3A5B #2C5789 #3B74B7 #6394CD

Accessibility & contrast

On white

7.42
#2C5789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2C5789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5789
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5789#FFFFFF#000000##FFFFFF
##2C57891.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A8B
Deuteranopia (green-blind)
#345188
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c5789;
/* rgb */ color: rgb(44, 87, 137);
/* oklch */ color: oklch(45.1% 0.095 253.7);
Tailwind
colors: {
  custom: {
    50: '#7086ab',
    500: '#2c5789',
    950: '#000000',
  },
}
SCSS
$custom: #2c5789;
$custom-light: #7086ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5789",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 137
  },
  "hsl": {
    "h": 212.258,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45092,
    "c": 0.09536,
    "h": 253.7
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#2C5789
secondary
#B38C5E
accent
#994DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2C5789

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

Preview Lab → · Contrast checker → · Palette generator →

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