#2E2C71#2E2C71

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

Color values

HEX#2E2C71
RGBrgb(46, 44, 113)
HSLhsl(242, 44%, 31%)
HSVhsv(242, 61%, 44%)
CMYKcmyk(59.3%, 61.1%, 0%, 55.7%)
CIE-LABlab(22.21, 22.74, -39.76)
CIE-LCHlch(22.21, 45.80, 299.76°)
OKLaboklab(33.86% 0.0192 -0.1141)
OKLCHoklch(33.86% 0.116 279.5)
XYZxyz(5.0071, 3.5741, 16.0456)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C71 #6F712C
analogous
#2C4C71 #2E2C71 #502C71
triadic
#2E2C71 #712E2C #2C712E
tetradic
#2E2C71 #712C4C #6F712C #2C7150
square
#2E2C71 #712C4C #6F712C #2C7150
split-complementary
#2E2C71 #71502C #4C712C
monochromatic
#0A0A19 #1C1B45 #2E2C71 #403D9D #5C59BE

Accessibility & contrast

On white

12.25
#2E2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2E2C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C71
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C71#FFFFFF#000000##FFFFFF
##2E2C711.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#093C4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2c71;
/* rgb */ color: rgb(46, 44, 113);
/* oklch */ color: oklch(33.9% 0.116 279.5);
Tailwind
colors: {
  custom: {
    50: '#6e659a',
    500: '#2e2c71',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c71;
$custom-light: #6e659a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c71",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 241.739,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33863,
    "c": 0.11566,
    "h": 279.5
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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