#2C39AA#2C39AA

#2C39AA is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.179 H 270.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2C39AA
RGBrgb(44, 57, 170)
HSLhsl(234, 59%, 42%)
HSVhsv(234, 74%, 67%)
CMYKcmyk(74.1%, 66.5%, 0%, 33.3%)
CIE-LABlab(30.31, 34.49, -61.87)
CIE-LCHlch(30.31, 70.83, 299.14°)
OKLaboklab(41.31% 0.0028 -0.1789)
OKLCHoklch(41.31% 0.179 270.9)
XYZxyz(9.7551, 6.3630, 38.7365)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39AA #AA9D2C
analogous
#2C78AA #2C39AA #5E2CAA
triadic
#2C39AA #AA2C39 #39AA2C
tetradic
#2C39AA #AA2C78 #AA9D2C #2CAA5E
square
#2C39AA #AA2C78 #AA9D2C #2CAA5E
split-complementary
#2C39AA #AA5E2C #78AA2C
monochromatic
#131849 #1F2979 #2C39AA #4453CF #7580DB

Accessibility & contrast

On white

9.24
#2C39AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2C39AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C39AA
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39AA#FFFFFF#000000##FFFFFF
##2C39AA1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c39aa;
/* rgb */ color: rgb(44, 57, 170);
/* oklch */ color: oklch(41.3% 0.179 270.9);
Tailwind
colors: {
  custom: {
    50: '#786fc4',
    500: '#2c39aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c39aa;
$custom-light: #786fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39aa",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 233.81,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41313,
    "c": 0.17892,
    "h": 270.9
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#2C39AA
secondary
#C3BA6F
accent
#D246E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C39AA

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

Preview Lab → · Contrast checker → · Palette generator →

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