#2C39AD#2C39AD

#2C39AD is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.183 H 270.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2C39AD
RGBrgb(44, 57, 173)
HSLhsl(234, 59%, 43%)
HSVhsv(234, 75%, 68%)
CMYKcmyk(74.6%, 67.1%, 0%, 32.2%)
CIE-LABlab(30.59, 35.57, -63.21)
CIE-LCHlch(30.59, 72.53, 299.36°)
OKLaboklab(41.6% 0.0026 -0.1828)
OKLCHoklch(41.6% 0.183 270.8)
XYZxyz(10.0421, 6.4778, 40.2482)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39AD #ADA02C
analogous
#2C7AAD #2C39AD #5F2CAD
triadic
#2C39AD #AD2C39 #39AD2C
tetradic
#2C39AD #AD2C7A #ADA02C #2CAD5F
square
#2C39AD #AD2C7A #ADA02C #2CAD5F
split-complementary
#2C39AD #AD5F2C #7AAD2C
monochromatic
#13194B #20297C #2C39AD #4654D0 #7781DC

Accessibility & contrast

On white

9.15
#2C39AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C39AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C39AD
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39AD#FFFFFF#000000##FFFFFF
##2C39AD1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c39ad;
/* rgb */ color: rgb(44, 57, 173);
/* oklch */ color: oklch(41.6% 0.183 270.8);
Tailwind
colors: {
  custom: {
    50: '#796fc6',
    500: '#2c39ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c39ad;
$custom-light: #796fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39ad",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 173
  },
  "hsl": {
    "h": 233.953,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41599,
    "c": 0.18285,
    "h": 270.8
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#2C39AD
secondary
#C4BC71
accent
#D345E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C39AD

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

Preview Lab → · Contrast checker → · Palette generator →

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