#2C2588#2C2588

#2C2588 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.157 H 277.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#2C2588
RGBrgb(44, 37, 136)
HSLhsl(244, 57%, 34%)
HSVhsv(244, 73%, 53%)
CMYKcmyk(67.6%, 72.8%, 0%, 46.7%)
CIE-LABlab(22.43, 35.01, -53.99)
CIE-LCHlch(22.43, 64.35, 302.96°)
OKLaboklab(34.62% 0.0204 -0.1559)
OKLCHoklch(34.62% 0.157 277.5)
XYZxyz(6.1428, 3.6357, 23.6658)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2588 #818825
analogous
#255088 #2C2588 #5E2588
triadic
#2C2588 #882C25 #25882C
tetradic
#2C2588 #882550 #818825 #25885E
square
#2C2588 #882550 #818825 #25885E
split-complementary
#2C2588 #885E25 #508825
monochromatic
#0D0B28 #1C1858 #2C2588 #3C32B8 #5F56D1

Accessibility & contrast

On white

12.16
#2C2588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2C2588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2588
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2588#FFFFFF#000000##FFFFFF
##2C25881.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2588;
/* rgb */ color: rgb(44, 37, 136);
/* oklch */ color: oklch(34.6% 0.157 277.5);
Tailwind
colors: {
  custom: {
    50: '#7261ac',
    500: '#2c2588',
    950: '#000000',
  },
}
SCSS
$custom: #2c2588;
$custom-light: #7261ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2588",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 244.242,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34622,
    "c": 0.15723,
    "h": 277.5
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#2C2588
secondary
#AFB653
accent
#E047D6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2588

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

Preview Lab → · Contrast checker → · Palette generator →

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