#2E3373#2E3373

#2E3373 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.109 H 276.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2E3373
RGBrgb(46, 51, 115)
HSLhsl(236, 43%, 32%)
HSVhsv(236, 60%, 45%)
CMYKcmyk(60%, 55.7%, 0%, 54.9%)
CIE-LABlab(24.28, 18.66, -37.70)
CIE-LCHlch(24.28, 42.06, 296.33°)
OKLaboklab(35.45% 0.0114 -0.1079)
OKLCHoklch(35.45% 0.109 276)
XYZxyz(5.4041, 4.1859, 16.7395)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3373 #736E2E
analogous
#2E5673 #2E3373 #4C2E73
triadic
#2E3373 #732E33 #33732E
tetradic
#2E3373 #732E56 #736E2E #2E734C
square
#2E3373 #732E56 #736E2E #2E734C
split-complementary
#2E3373 #734C2E #56732E
monochromatic
#0B0C1C #1D2047 #2E3373 #3F469F #5D64BE

Accessibility & contrast

On white

11.43
#2E3373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E3373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3373
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3373#FFFFFF#000000##FFFFFF
##2E33731.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#04424D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e3373;
/* rgb */ color: rgb(46, 51, 115);
/* oklch */ color: oklch(35.5% 0.109 276.0);
Tailwind
colors: {
  custom: {
    50: '#6e6a9c',
    500: '#2e3373',
    950: '#000000',
  },
}
SCSS
$custom: #2e3373;
$custom-light: #6e6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3373",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 235.652,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35451,
    "c": 0.10853,
    "h": 276
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#2E3373
secondary
#A49F58
accent
#CA55D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2E3373

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

Preview Lab → · Contrast checker → · Palette generator →

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