#2D39BB#2D39BB

#2D39BB is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.0% C 0.200 H 270.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2D39BB
RGBrgb(45, 57, 187)
HSLhsl(235, 61%, 45%)
HSVhsv(235, 76%, 73%)
CMYKcmyk(75.9%, 69.5%, 0%, 26.7%)
CIE-LABlab(31.97, 40.63, -69.26)
CIE-LCHlch(31.97, 80.30, 300.40°)
OKLaboklab(43.02% 0.0023 -0.2005)
OKLCHoklch(43.02% 0.2 270.7)
XYZxyz(11.5119, 7.0708, 47.7622)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D39BB #BBAF2D
analogous
#2D80BB #2D39BB #682DBB
triadic
#2D39BB #BB2D39 #39BB2D
tetradic
#2D39BB #BB2D80 #BBAF2D #2DBB68
square
#2D39BB #BB2D80 #BBAF2D #2DBB68
split-complementary
#2D39BB #BB682D #80BB2D
monochromatic
#151B58 #212A8A #2D39BB #505BD5 #828AE1

Accessibility & contrast

On white

8.70
#2D39BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D39BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D39BB
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D39BB#FFFFFF#000000##FFFFFF
##2D39BB1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0044B9
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d39bb;
/* rgb */ color: rgb(45, 57, 187);
/* oklch */ color: oklch(43.0% 0.200 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d70d1',
    500: '#2d39bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d39bb;
$custom-light: #7d70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d39bb",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 234.93,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43017,
    "c": 0.20048,
    "h": 270.7
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#2D39BB
secondary
#CAC37A
accent
#D743E4
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2D39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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