#2C5191#2C5191

#2C5191 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.114 H 260.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2C5191
RGBrgb(44, 81, 145)
HSLhsl(218, 53%, 37%)
HSVhsv(218, 70%, 57%)
CMYKcmyk(69.7%, 44.1%, 0%, 43.1%)
CIE-LABlab(34.93, 9.13, -39.28)
CIE-LCHlch(34.93, 40.32, 283.08°)
OKLaboklab(44.19% -0.0186 -0.1122)
OKLCHoklch(44.19% 0.114 260.6)
XYZxyz(9.0901, 8.4637, 27.9372)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5191 #916C2C
analogous
#2C8491 #2C5191 #3A2C91
triadic
#2C5191 #912C51 #51912C
tetradic
#2C5191 #912C84 #916C2C #2C913A
square
#2C5191 #912C84 #916C2C #2C913A
split-complementary
#2C5191 #913A2C #84912C
monochromatic
#101D33 #1E3762 #2C5191 #3A6BC0 #678ED1

Accessibility & contrast

On white

7.80
#2C5191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C5191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5191
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5191#FFFFFF#000000##FFFFFF
##2C51911.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325793
Deuteranopia (green-blind)
#214E90
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5191;
/* rgb */ color: rgb(44, 81, 145);
/* oklch */ color: oklch(44.2% 0.114 260.6);
Tailwind
colors: {
  custom: {
    50: '#7181b2',
    500: '#2c5191',
    950: '#000000',
  },
}
SCSS
$custom: #2c5191;
$custom-light: #7181b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5191",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 145
  },
  "hsl": {
    "h": 218.02,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44191,
    "c": 0.11372,
    "h": 260.6
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#2C5191
secondary
#B79862
accent
#A74BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2C5191

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

Preview Lab → · Contrast checker → · Palette generator →

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