#2D39A9#2D39A9

#2D39A9 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.177 H 271.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2D39A9
RGBrgb(45, 57, 169)
HSLhsl(234, 58%, 42%)
HSVhsv(234, 73%, 66%)
CMYKcmyk(73.4%, 66.3%, 0%, 33.7%)
CIE-LABlab(30.27, 34.24, -61.33)
CIE-LCHlch(30.27, 70.24, 299.17°)
OKLaboklab(41.27% 0.004 -0.1773)
OKLCHoklch(41.27% 0.177 271.3)
XYZxyz(9.7043, 6.3477, 38.2422)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D39A9 #A99D2D
analogous
#2D77A9 #2D39A9 #5F2DA9
triadic
#2D39A9 #A92D39 #39A92D
tetradic
#2D39A9 #A92D77 #A99D2D #2DA95F
square
#2D39A9 #A92D77 #A99D2D #2DA95F
split-complementary
#2D39A9 #A95F2D #77A92D
monochromatic
#131848 #202979 #2D39A9 #4653CE #7680DA

Accessibility & contrast

On white

9.25
#2D39A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D39A9
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D39A9#FFFFFF#000000##FFFFFF
##2D39A91.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d39a9;
/* rgb */ color: rgb(45, 57, 169);
/* oklch */ color: oklch(41.3% 0.177 271.3);
Tailwind
colors: {
  custom: {
    50: '#786fc4',
    500: '#2d39a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d39a9;
$custom-light: #786fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d39a9",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 169
  },
  "hsl": {
    "h": 234.194,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41272,
    "c": 0.17733,
    "h": 271.3
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#2D39A9
secondary
#C2BA6F
accent
#D247E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2D39A9

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

Preview Lab → · Contrast checker → · Palette generator →

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