#2E2C73#2E2C73

#2E2C73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 34.0% C 0.119 H 279.3°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#2E2C73
RGBrgb(46, 44, 115)
HSLhsl(242, 45%, 31%)
HSVhsv(242, 62%, 45%)
CMYKcmyk(60%, 61.7%, 0%, 54.9%)
CIE-LABlab(22.37, 23.45, -40.78)
CIE-LCHlch(22.37, 47.04, 299.90°)
OKLaboklab(34.03% 0.0191 -0.1171)
OKLCHoklch(34.03% 0.119 279.3)
XYZxyz(5.1209, 3.6197, 16.6451)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C73 #71732C
analogous
#2C4D73 #2E2C73 #512C73
triadic
#2E2C73 #732E2C #2C732E
tetradic
#2E2C73 #732C4D #71732C #2C7351
square
#2E2C73 #732C4D #71732C #2C7351
split-complementary
#2E2C73 #73512C #4D732C
monochromatic
#0B0A1A #1C1B47 #2E2C73 #403D9F #5D5AC0

Accessibility & contrast

On white

12.18
#2E2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2C73
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C73#FFFFFF#000000##FFFFFF
##2E2C731.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#063D4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2c73;
/* rgb */ color: rgb(46, 44, 115);
/* oklch */ color: oklch(34.0% 0.119 279.3);
Tailwind
colors: {
  custom: {
    50: '#6e659c',
    500: '#2e2c73',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c73;
$custom-light: #6e659c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c73",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 241.69,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34033,
    "c": 0.11861,
    "h": 279.3
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#2E2C73
secondary
#A2A556
accent
#D453D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2E2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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