#2D39B3#2D39B3

#2D39B3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.190 H 270.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2D39B3
RGBrgb(45, 57, 179)
HSLhsl(235, 60%, 44%)
HSVhsv(235, 75%, 70%)
CMYKcmyk(74.9%, 68.2%, 0%, 29.8%)
CIE-LABlab(31.20, 37.81, -65.78)
CIE-LCHlch(31.20, 75.87, 299.89°)
OKLaboklab(42.23% 0.0031 -0.1903)
OKLCHoklch(42.23% 0.19 270.9)
XYZxyz(10.6792, 6.7377, 43.3768)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D39B3 #B3A72D
analogous
#2D7CB3 #2D39B3 #642DB3
triadic
#2D39B3 #B32D39 #39B32D
tetradic
#2D39B3 #B32D7C #B3A72D #2DB364
square
#2D39B3 #B32D7C #B3A72D #2DB364
split-complementary
#2D39B3 #B3642D #7CB32D
monochromatic
#141A51 #212982 #2D39B3 #4B57D2 #7C85DE

Accessibility & contrast

On white

8.94
#2D39B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D39B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D39B3
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D39B3#FFFFFF#000000##FFFFFF
##2D39B31.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d39b3;
/* rgb */ color: rgb(45, 57, 179);
/* oklch */ color: oklch(42.2% 0.190 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b70cb',
    500: '#2d39b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d39b3;
$custom-light: #7b70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d39b3",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 234.627,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.19034,
    "h": 270.9
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#2D39B3
secondary
#C7BF75
accent
#D545E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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