#2D39AC#2D39AC

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

Color values

HEX#2D39AC
RGBrgb(45, 57, 172)
HSLhsl(234, 59%, 43%)
HSVhsv(234, 74%, 67%)
CMYKcmyk(73.8%, 66.9%, 0%, 32.5%)
CIE-LABlab(30.55, 35.32, -62.68)
CIE-LCHlch(30.55, 71.94, 299.40°)
OKLaboklab(41.56% 0.0037 -0.1812)
OKLCHoklch(41.56% 0.181 271.2)
XYZxyz(9.9892, 6.4617, 39.7425)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D39AC #ACA02D
analogous
#2D78AC #2D39AC #612DAC
triadic
#2D39AC #AC2D39 #39AC2D
tetradic
#2D39AC #AC2D78 #ACA02D #2DAC61
square
#2D39AC #AC2D78 #ACA02D #2DAC61
split-complementary
#2D39AC #AC612D #78AC2D
monochromatic
#14194B #20297B #2D39AC #4754CF #7881DC

Accessibility & contrast

On white

9.16
#2D39AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D39AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D39AC
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D39AC#FFFFFF#000000##FFFFFF
##2D39AC1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d39ac;
/* rgb */ color: rgb(45, 57, 172);
/* oklch */ color: oklch(41.6% 0.181 271.2);
Tailwind
colors: {
  custom: {
    50: '#796fc6',
    500: '#2d39ac',
    950: '#000000',
  },
}
SCSS
$custom: #2d39ac;
$custom-light: #796fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d39ac",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 234.331,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41557,
    "c": 0.18127,
    "h": 271.2
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D39AC

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

Preview Lab → · Contrast checker → · Palette generator →

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