#2D39B5#2D39B5

#2D39B5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.193 H 270.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2D39B5
RGBrgb(45, 57, 181)
HSLhsl(235, 60%, 44%)
HSVhsv(235, 75%, 71%)
CMYKcmyk(75.1%, 68.5%, 0%, 29%)
CIE-LABlab(31.39, 38.52, -66.66)
CIE-LCHlch(31.39, 76.99, 300.02°)
OKLaboklab(42.43% 0.0029 -0.1929)
OKLCHoklch(42.43% 0.193 270.9)
XYZxyz(10.8830, 6.8192, 44.4498)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D39B5 #B5A92D
analogous
#2D7DB5 #2D39B5 #652DB5
triadic
#2D39B5 #B52D39 #39B52D
tetradic
#2D39B5 #B52D7D #B5A92D #2DB565
square
#2D39B5 #B52D7D #B5A92D #2DB565
split-complementary
#2D39B5 #B5652D #7DB52D
monochromatic
#151A53 #212A84 #2D39B5 #4D58D3 #7E86DF

Accessibility & contrast

On white

8.88
#2D39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D39B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D39B5
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D39B5#FFFFFF#000000##FFFFFF
##2D39B51.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d39b5;
/* rgb */ color: rgb(45, 57, 181);
/* oklch */ color: oklch(42.4% 0.193 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b70cc',
    500: '#2d39b5',
    950: '#000000',
  },
}
SCSS
$custom: #2d39b5;
$custom-light: #7b70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d39b5",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 234.706,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42426,
    "c": 0.19289,
    "h": 270.9
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#2D39B5
secondary
#C7C076
accent
#D544E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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