#2E379F#2E379F

#2E379F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.166 H 272.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2E379F
RGBrgb(46, 55, 159)
HSLhsl(235, 55%, 40%)
HSVhsv(235, 71%, 62%)
CMYKcmyk(71.1%, 65.4%, 0%, 37.6%)
CIE-LABlab(28.94, 32.04, -57.47)
CIE-LCHlch(28.94, 65.80, 299.14°)
OKLaboklab(40.04% 0.0072 -0.166)
OKLCHoklch(40.04% 0.166 272.5)
XYZxyz(8.7488, 5.8156, 33.4556)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E379F #9F962E
analogous
#2E709F #2E379F #5D2E9F
triadic
#2E379F #9F2E37 #379F2E
tetradic
#2E379F #9F2E70 #9F962E #2E9F5D
square
#2E379F #9F2E70 #9F962E #2E9F5D
split-complementary
#2E379F #9F5D2E #709F2E
monochromatic
#131640 #202770 #2E379F #424DC8 #7179D6

Accessibility & contrast

On white

9.71
#2E379F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E379F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E379F#FFFFFF#000000##FFFFFF
##2E379F1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e379f;
/* rgb */ color: rgb(46, 55, 159);
/* oklch */ color: oklch(40.0% 0.166 272.5);
Tailwind
colors: {
  custom: {
    50: '#776ebc',
    500: '#2e379f',
    950: '#000000',
  },
}
SCSS
$custom: #2e379f;
$custom-light: #776ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e379f",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 235.221,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.16614,
    "h": 272.5
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#2E379F
secondary
#BEB76B
accent
#D349DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E379F

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

Preview Lab → · Contrast checker → · Palette generator →

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