#2E2C72#2E2C72

#2E2C72 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.117 H 279.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#2E2C72
RGBrgb(46, 44, 114)
HSLhsl(242, 44%, 31%)
HSVhsv(242, 61%, 45%)
CMYKcmyk(59.6%, 61.4%, 0%, 55.3%)
CIE-LABlab(22.29, 23.09, -40.27)
CIE-LCHlch(22.29, 46.42, 299.83°)
OKLaboklab(33.95% 0.0192 -0.1156)
OKLCHoklch(33.95% 0.117 279.4)
XYZxyz(5.0637, 3.5968, 16.3437)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C72 #70722C
analogous
#2C4D72 #2E2C72 #512C72
triadic
#2E2C72 #722E2C #2C722E
tetradic
#2E2C72 #722C4D #70722C #2C7251
square
#2E2C72 #722C4D #70722C #2C7251
split-complementary
#2E2C72 #72512C #4D722C
monochromatic
#0A0A1A #1C1B46 #2E2C72 #403D9E #5C59BF

Accessibility & contrast

On white

12.21
#2E2C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E2C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C72
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C72#FFFFFF#000000##FFFFFF
##2E2C721.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#083D4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2c72;
/* rgb */ color: rgb(46, 44, 114);
/* oklch */ color: oklch(33.9% 0.117 279.4);
Tailwind
colors: {
  custom: {
    50: '#6e659b',
    500: '#2e2c72',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c72;
$custom-light: #6e659b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c72",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 241.714,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33948,
    "c": 0.11715,
    "h": 279.4
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#2E2C72
secondary
#A1A456
accent
#D454D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2E2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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