#2E378F#2E378F

#2E378F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.144 H 273.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2E378F
RGBrgb(46, 55, 143)
HSLhsl(234, 51%, 37%)
HSVhsv(234, 68%, 56%)
CMYKcmyk(67.8%, 61.5%, 0%, 43.9%)
CIE-LABlab(27.56, 26.21, -49.94)
CIE-LCHlch(27.56, 56.40, 297.69°)
OKLaboklab(38.59% 0.0079 -0.1439)
OKLCHoklch(38.59% 0.144 273.1)
XYZxyz(7.4492, 5.2957, 26.6109)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E378F #8F862E
analogous
#2E688F #2E378F #562E8F
triadic
#2E378F #8F2E37 #378F2E
tetradic
#2E378F #8F2E68 #8F862E #2E8F56
square
#2E378F #8F2E68 #8F862E #2E8F56
split-complementary
#2E378F #8F562E #688F2E
monochromatic
#101332 #1F2561 #2E378F #3D49BD #6972CF

Accessibility & contrast

On white

10.20
#2E378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E378F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E378F#FFFFFF#000000##FFFFFF
##2E378F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e378f;
/* rgb */ color: rgb(46, 55, 143);
/* oklch */ color: oklch(38.6% 0.144 273.1);
Tailwind
colors: {
  custom: {
    50: '#736db1',
    500: '#2e378f',
    950: '#000000',
  },
}
SCSS
$custom: #2e378f;
$custom-light: #736db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e378f",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 234.433,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38593,
    "c": 0.14411,
    "h": 273.1
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#2E378F
secondary
#B6AE63
accent
#CE4DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E378F

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

Preview Lab → · Contrast checker → · Palette generator →

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