#2E379A#2E379A

#2E379A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.159 H 272.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2E379A
RGBrgb(46, 55, 154)
HSLhsl(235, 54%, 39%)
HSVhsv(235, 70%, 60%)
CMYKcmyk(70.1%, 64.3%, 0%, 39.6%)
CIE-LABlab(28.50, 30.23, -55.15)
CIE-LCHlch(28.50, 62.89, 298.73°)
OKLaboklab(39.58% 0.0075 -0.1592)
OKLCHoklch(39.58% 0.159 272.7)
XYZxyz(8.3237, 5.6455, 31.2166)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E379A #9A912E
analogous
#2E6D9A #2E379A #5B2E9A
triadic
#2E379A #9A2E37 #379A2E
tetradic
#2E379A #9A2E6D #9A912E #2E9A5B
square
#2E379A #9A2E6D #9A912E #2E9A5B
split-complementary
#2E379A #9A5B2E #6D9A2E
monochromatic
#12153C #20266B #2E379A #3F4BC6 #6F77D4

Accessibility & contrast

On white

9.86
#2E379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E379A
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E379A#FFFFFF#000000##FFFFFF
##2E379A1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e379a;
/* rgb */ color: rgb(46, 55, 154);
/* oklch */ color: oklch(39.6% 0.159 272.7);
Tailwind
colors: {
  custom: {
    50: '#766eb9',
    500: '#2e379a',
    950: '#000000',
  },
}
SCSS
$custom: #2e379a;
$custom-light: #766eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e379a",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 235,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39577,
    "c": 0.15937,
    "h": 272.7
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#2E379A
secondary
#BBB469
accent
#D14ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #2E379A

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

Preview Lab → · Contrast checker → · Palette generator →

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