#2C2389#2C2389

#2C2389 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.161 H 277.7°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2C2389
RGBrgb(44, 35, 137)
HSLhsl(245, 59%, 34%)
HSVhsv(245, 74%, 54%)
CMYKcmyk(67.9%, 74.5%, 0%, 46.3%)
CIE-LABlab(22.10, 36.55, -55.16)
CIE-LCHlch(22.10, 66.17, 303.53°)
OKLaboklab(34.42% 0.0216 -0.1593)
OKLCHoklch(34.42% 0.161 277.7)
XYZxyz(6.1536, 3.5432, 24.0217)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2389 #808923
analogous
#234D89 #2C2389 #5F2389
triadic
#2C2389 #892C23 #23892C
tetradic
#2C2389 #89234D #808923 #23895F
square
#2C2389 #89234D #808923 #23895F
split-complementary
#2C2389 #895F23 #4D8923
monochromatic
#0D0A28 #1C1758 #2C2389 #3C2FBA #5F53D3

Accessibility & contrast

On white

12.29
#2C2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2C2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2389
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2389#FFFFFF#000000##FFFFFF
##2C23891.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c2389;
/* rgb */ color: rgb(44, 35, 137);
/* oklch */ color: oklch(34.4% 0.161 277.7);
Tailwind
colors: {
  custom: {
    50: '#735fac',
    500: '#2c2389',
    950: '#000000',
  },
}
SCSS
$custom: #2c2389;
$custom-light: #735fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2389",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 245.294,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34419,
    "c": 0.16075,
    "h": 277.7
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#2C2389
secondary
#AEB751
accent
#E245D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2389

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

Preview Lab → · Contrast checker → · Palette generator →

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