#2C2289#2C2289

#2C2289 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.162 H 277.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#2C2289
RGBrgb(44, 34, 137)
HSLhsl(246, 60%, 34%)
HSVhsv(246, 75%, 54%)
CMYKcmyk(67.9%, 75.2%, 0%, 46.3%)
CIE-LABlab(21.89, 37.13, -55.50)
CIE-LCHlch(21.89, 66.78, 303.78°)
OKLaboklab(34.27% 0.0222 -0.1603)
OKLCHoklch(34.27% 0.162 277.9)
XYZxyz(6.1246, 3.4852, 24.0120)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2289 #7F8922
analogous
#224B89 #2C2289 #5F2289
triadic
#2C2289 #892C22 #22892C
tetradic
#2C2289 #89224B #7F8922 #22895F
square
#2C2289 #89224B #7F8922 #22895F
split-complementary
#2C2289 #895F22 #4B8922
monochromatic
#0D0A27 #1C1658 #2C2289 #3C2EBA #5E51D4

Accessibility & contrast

On white

12.37
#2C2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2C2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2289
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2289#FFFFFF#000000##FFFFFF
##2C22891.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2289;
/* rgb */ color: rgb(44, 34, 137);
/* oklch */ color: oklch(34.3% 0.162 277.9);
Tailwind
colors: {
  custom: {
    50: '#735fac',
    500: '#2c2289',
    950: '#000000',
  },
}
SCSS
$custom: #2c2289;
$custom-light: #735fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2289",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 245.825,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3427,
    "c": 0.16184,
    "h": 277.9
  },
  "luminance": 0.03486
}

Semantic roles & 50–950 ramp

primary
#2C2289
secondary
#ADB84F
accent
#E344D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C2289

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

Preview Lab → · Contrast checker → · Palette generator →

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