#2E376C#2E376C

#2E376C is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.092 H 273.6°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2E376C
RGBrgb(46, 55, 108)
HSLhsl(231, 40%, 30%)
HSVhsv(231, 57%, 42%)
CMYKcmyk(57.4%, 49.1%, 0%, 57.6%)
CIE-LABlab(24.94, 13.34, -32.15)
CIE-LCHlch(24.94, 34.81, 292.53°)
OKLaboklab(35.79% 0.0058 -0.0916)
OKLCHoklch(35.79% 0.092 273.6)
XYZxyz(5.1988, 4.3956, 14.7589)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E376C #6C632E
analogous
#2E566C #2E376C #442E6C
triadic
#2E376C #6C2E37 #376C2E
tetradic
#2E376C #6C2E56 #6C632E #2E6C44
square
#2E376C #6C2E56 #6C632E #2E6C44
split-complementary
#2E376C #6C442E #566C2E
monochromatic
#090B16 #1C2141 #2E376C #404D97 #5B69B9

Accessibility & contrast

On white

11.17
#2E376C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E376C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E376C
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E376C#FFFFFF#000000##FFFFFF
##2E376C1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3E6E
Deuteranopia (green-blind)
#17396B
Tritanopia (blue-blind)
#0E434C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e376c;
/* rgb */ color: rgb(46, 55, 108);
/* oklch */ color: oklch(35.8% 0.092 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c6d96',
    500: '#2e376c',
    950: '#000000',
  },
}
SCSS
$custom: #2e376c;
$custom-light: #6c6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#2e376c",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 108
  },
  "hsl": {
    "h": 231.29,
    "s": 40.26,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35794,
    "c": 0.09177,
    "h": 273.6
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

primary
#2E376C
secondary
#9E9358
accent
#BF58D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2E376C

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

Preview Lab → · Contrast checker → · Palette generator →

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