#2E39AC#2E39AC

#2E39AC is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.181 H 271.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2E39AC
RGBrgb(46, 57, 172)
HSLhsl(235, 58%, 43%)
HSVhsv(235, 73%, 67%)
CMYKcmyk(73.3%, 66.9%, 0%, 32.5%)
CIE-LABlab(30.60, 35.43, -62.58)
CIE-LCHlch(30.60, 71.92, 299.52°)
OKLaboklab(41.61% 0.0048 -0.1809)
OKLCHoklch(41.61% 0.181 271.5)
XYZxyz(10.0337, 6.4846, 39.7446)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39AC #ACA12E
analogous
#2E78AC #2E39AC #622EAC
triadic
#2E39AC #AC2E39 #39AC2E
tetradic
#2E39AC #AC2E78 #ACA12E #2EAC62
square
#2E39AC #AC2E78 #ACA12E #2EAC62
split-complementary
#2E39AC #AC622E #78AC2E
monochromatic
#14194B #21297C #2E39AC #4955CE #7982DB

Accessibility & contrast

On white

9.14
#2E39AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E39AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E39AC
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39AC#FFFFFF#000000##FFFFFF
##2E39AC1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e39ac;
/* rgb */ color: rgb(46, 57, 172);
/* oklch */ color: oklch(41.6% 0.181 271.5);
Tailwind
colors: {
  custom: {
    50: '#7a6fc6',
    500: '#2e39ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e39ac;
$custom-light: #7a6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39ac",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 234.762,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41612,
    "c": 0.181,
    "h": 271.5
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#2E39AC
secondary
#C3BC72
accent
#D447E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E39AC

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

Preview Lab → · Contrast checker → · Palette generator →

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