#2C3591#2C3591

#2C3591 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.150 H 272.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2C3591
RGBrgb(44, 53, 145)
HSLhsl(235, 53%, 37%)
HSVhsv(235, 70%, 57%)
CMYKcmyk(69.7%, 63.4%, 0%, 43.1%)
CIE-LABlab(27.09, 27.97, -51.95)
CIE-LCHlch(27.09, 59.00, 298.30°)
OKLaboklab(38.26% 0.0072 -0.1498)
OKLCHoklch(38.26% 0.15 272.8)
XYZxyz(7.4209, 5.1253, 27.3808)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3591 #91882C
analogous
#2C6891 #2C3591 #552C91
triadic
#2C3591 #912C35 #35912C
tetradic
#2C3591 #912C68 #91882C #2C9155
square
#2C3591 #912C68 #91882C #2C9155
split-complementary
#2C3591 #91552C #68912C
monochromatic
#101333 #1E2462 #2C3591 #3A46C0 #6770D1

Accessibility & contrast

On white

10.37
#2C3591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C3591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3591
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3591#FFFFFF#000000##FFFFFF
##2C35911.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3591;
/* rgb */ color: rgb(44, 53, 145);
/* oklch */ color: oklch(38.3% 0.150 272.8);
Tailwind
colors: {
  custom: {
    50: '#736cb2',
    500: '#2c3591',
    950: '#000000',
  },
}
SCSS
$custom: #2c3591;
$custom-light: #736cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3591",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 234.653,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38264,
    "c": 0.15002,
    "h": 272.8
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#2C3591
secondary
#B7B062
accent
#D04BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3591

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

Preview Lab → · Contrast checker → · Palette generator →

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