#2E39AF#2E39AF

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

Color values

HEX#2E39AF
RGBrgb(46, 57, 175)
HSLhsl(235, 58%, 43%)
HSVhsv(235, 74%, 69%)
CMYKcmyk(73.7%, 67.4%, 0%, 31.4%)
CIE-LABlab(30.88, 36.50, -63.92)
CIE-LCHlch(30.88, 73.61, 299.73°)
OKLaboklab(41.9% 0.0045 -0.1848)
OKLCHoklch(41.9% 0.185 271.4)
XYZxyz(10.3251, 6.6012, 41.2791)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39AF #AFA42E
analogous
#2E79AF #2E39AF #632EAF
triadic
#2E39AF #AF2E39 #39AF2E
tetradic
#2E39AF #AF2E79 #AFA42E #2EAF63
square
#2E39AF #AF2E79 #AFA42E #2EAF63
split-complementary
#2E39AF #AF632E #79AF2E
monochromatic
#15194E #21297F #2E39AF #4B56D0 #7B83DC

Accessibility & contrast

On white

9.05
#2E39AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E39AF
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39AF#FFFFFF#000000##FFFFFF
##2E39AF1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e39af;
/* rgb */ color: rgb(46, 57, 175);
/* oklch */ color: oklch(41.9% 0.185 271.4);
Tailwind
colors: {
  custom: {
    50: '#7a70c8',
    500: '#2e39af',
    950: '#000000',
  },
}
SCSS
$custom: #2e39af;
$custom-light: #7a70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39af",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 234.884,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41899,
    "c": 0.18491,
    "h": 271.4
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E39AF

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

Preview Lab → · Contrast checker → · Palette generator →

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