#2D39AF#2D39AF

#2D39AF is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.185 H 271.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2D39AF
RGBrgb(45, 57, 175)
HSLhsl(234, 59%, 43%)
HSVhsv(234, 74%, 69%)
CMYKcmyk(74.3%, 67.4%, 0%, 31.4%)
CIE-LABlab(30.83, 36.39, -64.01)
CIE-LCHlch(30.83, 73.63, 299.62°)
OKLaboklab(41.85% 0.0035 -0.1851)
OKLCHoklch(41.85% 0.185 271.1)
XYZxyz(10.2805, 6.5782, 41.2770)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D39AF #AFA32D
analogous
#2D7AAF #2D39AF #622DAF
triadic
#2D39AF #AF2D39 #39AF2D
tetradic
#2D39AF #AF2D7A #AFA32D #2DAF62
square
#2D39AF #AF2D7A #AFA32D #2DAF62
split-complementary
#2D39AF #AF622D #7AAF2D
monochromatic
#14194E #20297E #2D39AF #4955D0 #7A83DD

Accessibility & contrast

On white

9.07
#2D39AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D39AF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D39AF#FFFFFF#000000##FFFFFF
##2D39AF1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d39af;
/* rgb */ color: rgb(45, 57, 175);
/* oklch */ color: oklch(41.8% 0.185 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a6fc8',
    500: '#2d39af',
    950: '#000000',
  },
}
SCSS
$custom: #2d39af;
$custom-light: #7a6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d39af",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 234.462,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41845,
    "c": 0.18517,
    "h": 271.1
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#2D39AF
secondary
#C5BD73
accent
#D446E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D39AF

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

Preview Lab → · Contrast checker → · Palette generator →

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