#2E379D#2E379D

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

Color values

HEX#2E379D
RGBrgb(46, 55, 157)
HSLhsl(235, 55%, 40%)
HSVhsv(235, 71%, 62%)
CMYKcmyk(70.7%, 65%, 0%, 38.4%)
CIE-LABlab(28.76, 31.32, -56.55)
CIE-LCHlch(28.76, 64.64, 298.98°)
OKLaboklab(39.85% 0.0073 -0.1633)
OKLCHoklch(39.85% 0.163 272.6)
XYZxyz(8.5767, 5.7467, 32.5490)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E379D #9D942E
analogous
#2E6F9D #2E379D #5C2E9D
triadic
#2E379D #9D2E37 #379D2E
tetradic
#2E379D #9D2E6F #9D942E #2E9D5C
square
#2E379D #9D2E6F #9D942E #2E9D5C
split-complementary
#2E379D #9D5C2E #6F9D2E
monochromatic
#12163E #20266E #2E379D #414CC7 #7078D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E379D#FFFFFF#000000##FFFFFF
##2E379D1.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)
#0049A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e379d;
/* rgb */ color: rgb(46, 55, 157);
/* oklch */ color: oklch(39.9% 0.163 272.6);
Tailwind
colors: {
  custom: {
    50: '#766ebb',
    500: '#2e379d',
    950: '#000000',
  },
}
SCSS
$custom: #2e379d;
$custom-light: #766ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e379d",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 235.135,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39852,
    "c": 0.16344,
    "h": 272.6
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#2E379D
secondary
#BDB66A
accent
#D24ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E379D

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

Preview Lab → · Contrast checker → · Palette generator →

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