#2E389A#2E389A

#2E389A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.158 H 272.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2E389A
RGBrgb(46, 56, 154)
HSLhsl(234, 54%, 39%)
HSVhsv(234, 70%, 60%)
CMYKcmyk(70.1%, 63.6%, 0%, 39.6%)
CIE-LABlab(28.75, 29.57, -54.74)
CIE-LCHlch(28.75, 62.22, 298.38°)
OKLaboklab(39.76% 0.0067 -0.158)
OKLCHoklch(39.76% 0.158 272.4)
XYZxyz(8.3717, 5.7415, 31.2326)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E389A #9A902E
analogous
#2E6E9A #2E389A #5A2E9A
triadic
#2E389A #9A2E38 #389A2E
tetradic
#2E389A #9A2E6E #9A902E #2E9A5A
square
#2E389A #9A2E6E #9A902E #2E9A5A
split-complementary
#2E389A #9A5A2E #6E9A2E
monochromatic
#12163C #20276B #2E389A #3F4CC6 #6F78D4

Accessibility & contrast

On white

9.77
#2E389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2E389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E389A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E389A#FFFFFF#000000##FFFFFF
##2E389A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e389a;
/* rgb */ color: rgb(46, 56, 154);
/* oklch */ color: oklch(39.8% 0.158 272.4);
Tailwind
colors: {
  custom: {
    50: '#756eb9',
    500: '#2e389a',
    950: '#000000',
  },
}
SCSS
$custom: #2e389a;
$custom-light: #756eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e389a",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 234.444,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39761,
    "c": 0.15812,
    "h": 272.4
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#2E389A
secondary
#BBB469
accent
#D04ADD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #2E389A

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

Preview Lab → · Contrast checker → · Palette generator →

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