#2E378E#2E378E

#2E378E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.143 H 273.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2E378E
RGBrgb(46, 55, 142)
HSLhsl(234, 51%, 37%)
HSVhsv(234, 68%, 56%)
CMYKcmyk(67.6%, 61.3%, 0%, 44.3%)
CIE-LABlab(27.48, 25.84, -49.46)
CIE-LCHlch(27.48, 55.80, 297.59°)
OKLaboklab(38.51% 0.0079 -0.1425)
OKLCHoklch(38.51% 0.143 273.2)
XYZxyz(7.3738, 5.2656, 26.2137)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E378E #8E852E
analogous
#2E678E #2E378E #552E8E
triadic
#2E378E #8E2E37 #378E2E
tetradic
#2E378E #8E2E67 #8E852E #2E8E55
square
#2E378E #8E2E67 #8E852E #2E8E55
split-complementary
#2E378E #8E552E #678E2E
monochromatic
#101332 #1F2560 #2E378E #3D49BC #6872CE

Accessibility & contrast

On white

10.23
#2E378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2E378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E378E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E378E#FFFFFF#000000##FFFFFF
##2E378E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e378e;
/* rgb */ color: rgb(46, 55, 142);
/* oklch */ color: oklch(38.5% 0.143 273.2);
Tailwind
colors: {
  custom: {
    50: '#736db0',
    500: '#2e378e',
    950: '#000000',
  },
}
SCSS
$custom: #2e378e;
$custom-light: #736db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e378e",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 234.375,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38505,
    "c": 0.14269,
    "h": 273.2
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#2E378E
secondary
#B5AD63
accent
#CD4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E378E

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

Preview Lab → · Contrast checker → · Palette generator →

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