#2E378D#2E378D

#2E378D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.141 H 273.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#2E378D
RGBrgb(46, 55, 141)
HSLhsl(234, 51%, 37%)
HSVhsv(234, 67%, 55%)
CMYKcmyk(67.4%, 61%, 0%, 44.7%)
CIE-LABlab(27.40, 25.47, -48.97)
CIE-LCHlch(27.40, 55.20, 297.48°)
OKLaboklab(38.42% 0.0079 -0.141)
OKLCHoklch(38.42% 0.141 273.2)
XYZxyz(7.2990, 5.2357, 25.8201)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E378D #8D842E
analogous
#2E678D #2E378D #552E8D
triadic
#2E378D #8D2E37 #378D2E
tetradic
#2E378D #8D2E67 #8D842E #2E8D55
square
#2E378D #8D2E67 #8D842E #2E8D55
split-complementary
#2E378D #8D552E #678D2E
monochromatic
#101331 #1F255F #2E378D #3D49BB #6871CE

Accessibility & contrast

On white

10.26
#2E378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E378D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E378D#FFFFFF#000000##FFFFFF
##2E378D1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e378d;
/* rgb */ color: rgb(46, 55, 141);
/* oklch */ color: oklch(38.4% 0.141 273.2);
Tailwind
colors: {
  custom: {
    50: '#736daf',
    500: '#2e378d',
    950: '#000000',
  },
}
SCSS
$custom: #2e378d;
$custom-light: #736daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e378d",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 234.316,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38419,
    "c": 0.14127,
    "h": 273.2
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#2E378D
secondary
#B5AD62
accent
#CD4EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E378D

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

Preview Lab → · Contrast checker → · Palette generator →

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