#2D39B0#2D39B0

#2D39B0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.186 H 271.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2D39B0
RGBrgb(45, 57, 176)
HSLhsl(235, 59%, 43%)
HSVhsv(235, 74%, 69%)
CMYKcmyk(74.4%, 67.6%, 0%, 31%)
CIE-LABlab(30.92, 36.75, -64.46)
CIE-LCHlch(30.92, 74.19, 299.69°)
OKLaboklab(41.94% 0.0034 -0.1864)
OKLCHoklch(41.94% 0.186 271)
XYZxyz(10.3791, 6.6176, 41.7962)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D39B0 #B0A42D
analogous
#2D7AB0 #2D39B0 #622DB0
triadic
#2D39B0 #B02D39 #39B02D
tetradic
#2D39B0 #B02D7A #B0A42D #2DB062
square
#2D39B0 #B02D7A #B0A42D #2DB062
split-complementary
#2D39B0 #B0622D #7AB02D
monochromatic
#14194F #21297F #2D39B0 #4A56D1 #7A83DD

Accessibility & contrast

On white

9.04
#2D39B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D39B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D39B0
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D39B0#FFFFFF#000000##FFFFFF
##2D39B01.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d39b0;
/* rgb */ color: rgb(45, 57, 176);
/* oklch */ color: oklch(41.9% 0.186 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a70c9',
    500: '#2d39b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d39b0;
$custom-light: #7a70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d39b0",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 234.504,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.18647,
    "h": 271
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#2D39B0
secondary
#C5BE73
accent
#D445E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D39B0

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

Preview Lab → · Contrast checker → · Palette generator →

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