#2E389B#2E389B

#2E389B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.160 H 272.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2E389B
RGBrgb(46, 56, 155)
HSLhsl(234, 54%, 39%)
HSVhsv(234, 70%, 61%)
CMYKcmyk(70.3%, 63.9%, 0%, 39.2%)
CIE-LABlab(28.84, 29.94, -55.21)
CIE-LCHlch(28.84, 62.81, 298.47°)
OKLaboklab(39.85% 0.0067 -0.1594)
OKLCHoklch(39.85% 0.16 272.4)
XYZxyz(8.4553, 5.7749, 31.6731)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E389B #9B912E
analogous
#2E6F9B #2E389B #5A2E9B
triadic
#2E389B #9B2E38 #389B2E
tetradic
#2E389B #9B2E6F #9B912E #2E9B5A
square
#2E389B #9B2E6F #9B912E #2E9B5A
split-complementary
#2E389B #9B5A2E #6F9B2E
monochromatic
#12163D #20276C #2E389B #404CC6 #6F78D4

Accessibility & contrast

On white

9.74
#2E389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2E389B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E389B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E389B#FFFFFF#000000##FFFFFF
##2E389B1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e389b;
/* rgb */ color: rgb(46, 56, 155);
/* oklch */ color: oklch(39.9% 0.160 272.4);
Tailwind
colors: {
  custom: {
    50: '#766eb9',
    500: '#2e389b',
    950: '#000000',
  },
}
SCSS
$custom: #2e389b;
$custom-light: #766eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e389b",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 234.495,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39851,
    "c": 0.1595,
    "h": 272.4
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#2E389B
secondary
#BCB469
accent
#D04ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E389B

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

Preview Lab → · Contrast checker → · Palette generator →

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