#2E378C#2E378C

#2E378C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.140 H 273.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2E378C
RGBrgb(46, 55, 140)
HSLhsl(234, 51%, 36%)
HSVhsv(234, 67%, 55%)
CMYKcmyk(67.1%, 60.7%, 0%, 45.1%)
CIE-LABlab(27.31, 25.11, -48.49)
CIE-LCHlch(27.31, 54.60, 297.38°)
OKLaboklab(38.33% 0.0079 -0.1396)
OKLCHoklch(38.33% 0.14 273.3)
XYZxyz(7.2249, 5.2060, 25.4300)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E378C #8C832E
analogous
#2E668C #2E378C #542E8C
triadic
#2E378C #8C2E37 #378C2E
tetradic
#2E378C #8C2E66 #8C832E #2E8C54
square
#2E378C #8C2E66 #8C832E #2E8C54
split-complementary
#2E378C #8C542E #668C2E
monochromatic
#101330 #1F255E #2E378C #3D49BA #6771CD

Accessibility & contrast

On white

10.29
#2E378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E378C
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E378C#FFFFFF#000000##FFFFFF
##2E378C1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e378c;
/* rgb */ color: rgb(46, 55, 140);
/* oklch */ color: oklch(38.3% 0.140 273.3);
Tailwind
colors: {
  custom: {
    50: '#726dae',
    500: '#2e378c',
    950: '#000000',
  },
}
SCSS
$custom: #2e378c;
$custom-light: #726dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e378c",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 234.255,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38332,
    "c": 0.13985,
    "h": 273.3
  },
  "luminance": 0.05207
}

Semantic roles & 50–950 ramp

primary
#2E378C
secondary
#B4AC62
accent
#CD4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E378C

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

Preview Lab → · Contrast checker → · Palette generator →

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