#2C5089#2C5089

#2C5089 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.103 H 259.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2C5089
RGBrgb(44, 80, 137)
HSLhsl(217, 51%, 35%)
HSVhsv(217, 68%, 54%)
CMYKcmyk(67.9%, 41.6%, 0%, 46.3%)
CIE-LABlab(34.15, 6.76, -35.65)
CIE-LCHlch(34.15, 36.28, 280.74°)
OKLaboklab(43.43% -0.0193 -0.1015)
OKLCHoklch(43.43% 0.103 259.2)
XYZxyz(8.4211, 8.0781, 24.7775)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5089 #89652C
analogous
#2C7E89 #2C5089 #362C89
triadic
#2C5089 #892C50 #50892C
tetradic
#2C5089 #892C7E #89652C #2C8936
square
#2C5089 #892C7E #89652C #2C8936
split-complementary
#2C5089 #89362C #7E892C
monochromatic
#0E1A2C #1D355B #2C5089 #3B6BB7 #638CCD

Accessibility & contrast

On white

8.03
#2C5089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2C5089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5089
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5089#FFFFFF#000000##FFFFFF
##2C50891.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558B
Deuteranopia (green-blind)
#284C88
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c5089;
/* rgb */ color: rgb(44, 80, 137);
/* oklch */ color: oklch(43.4% 0.103 259.2);
Tailwind
colors: {
  custom: {
    50: '#7080ac',
    500: '#2c5089',
    950: '#000000',
  },
}
SCSS
$custom: #2c5089;
$custom-light: #7080ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5089",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 137
  },
  "hsl": {
    "h": 216.774,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43426,
    "c": 0.10337,
    "h": 259.2
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#2C5089
secondary
#B3925E
accent
#A44DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C5089

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

Preview Lab → · Contrast checker → · Palette generator →

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