#2E379B#2E379B

#2E379B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.161 H 272.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2E379B
RGBrgb(46, 55, 155)
HSLhsl(235, 54%, 39%)
HSVhsv(235, 70%, 61%)
CMYKcmyk(70.3%, 64.5%, 0%, 39.2%)
CIE-LABlab(28.59, 30.59, -55.62)
CIE-LCHlch(28.59, 63.48, 298.81°)
OKLaboklab(39.67% 0.0074 -0.1606)
OKLCHoklch(39.67% 0.161 272.6)
XYZxyz(8.4073, 5.6790, 31.6571)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E379B #9B922E
analogous
#2E6E9B #2E379B #5C2E9B
triadic
#2E379B #9B2E37 #379B2E
tetradic
#2E379B #9B2E6E #9B922E #2E9B5C
square
#2E379B #9B2E6E #9B922E #2E9B5C
split-complementary
#2E379B #9B5C2E #6E9B2E
monochromatic
#12163D #20266C #2E379B #404BC6 #6F77D4

Accessibility & contrast

On white

9.83
#2E379B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2E379B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E379B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E379B#FFFFFF#000000##FFFFFF
##2E379B1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e379b;
/* rgb */ color: rgb(46, 55, 155);
/* oklch */ color: oklch(39.7% 0.161 272.6);
Tailwind
colors: {
  custom: {
    50: '#766eb9',
    500: '#2e379b',
    950: '#000000',
  },
}
SCSS
$custom: #2e379b;
$custom-light: #766eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e379b",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 235.046,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.16073,
    "h": 272.6
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#2E379B
secondary
#BCB569
accent
#D14ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E379B

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

Preview Lab → · Contrast checker → · Palette generator →

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