#2C5091#2C5091

#2C5091 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.115 H 261.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2C5091
RGBrgb(44, 80, 145)
HSLhsl(219, 53%, 37%)
HSVhsv(219, 70%, 57%)
CMYKcmyk(69.7%, 44.8%, 0%, 43.1%)
CIE-LABlab(34.63, 9.79, -39.75)
CIE-LCHlch(34.63, 40.94, 283.83°)
OKLaboklab(43.96% -0.0176 -0.1136)
OKLCHoklch(43.96% 0.115 261.2)
XYZxyz(9.0164, 8.3162, 27.9126)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5091 #916D2C
analogous
#2C8391 #2C5091 #3B2C91
triadic
#2C5091 #912C50 #50912C
tetradic
#2C5091 #912C83 #916D2C #2C913B
square
#2C5091 #912C83 #916D2C #2C913B
split-complementary
#2C5091 #913B2C #83912C
monochromatic
#101C33 #1E3662 #2C5091 #3A6AC0 #678CD1

Accessibility & contrast

On white

7.88
#2C5091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2C5091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5091
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5091#FFFFFF#000000##FFFFFF
##2C50911.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315693
Deuteranopia (green-blind)
#1F4D90
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5091;
/* rgb */ color: rgb(44, 80, 145);
/* oklch */ color: oklch(44.0% 0.115 261.2);
Tailwind
colors: {
  custom: {
    50: '#7180b2',
    500: '#2c5091',
    950: '#000000',
  },
}
SCSS
$custom: #2c5091;
$custom-light: #7180b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5091",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 145
  },
  "hsl": {
    "h": 218.614,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43961,
    "c": 0.11497,
    "h": 261.2
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#2C5091
secondary
#B79962
accent
#A94BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5091

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

Preview Lab → · Contrast checker → · Palette generator →

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