#2E2C7B#2E2C7B

#2E2C7B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.130 H 278.3°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#2E2C7B
RGBrgb(46, 44, 123)
HSLhsl(242, 47%, 33%)
HSVhsv(242, 64%, 48%)
CMYKcmyk(62.6%, 64.2%, 0%, 51.8%)
CIE-LABlab(23.04, 26.30, -44.80)
CIE-LCHlch(23.04, 51.95, 300.42°)
OKLaboklab(34.73% 0.0188 -0.1289)
OKLCHoklch(34.73% 0.13 278.3)
XYZxyz(5.6014, 3.8119, 19.1756)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C7B #797B2C
analogous
#2C517B #2E2C7B #552C7B
triadic
#2E2C7B #7B2E2C #2C7B2E
tetradic
#2E2C7B #7B2C51 #797B2C #2C7B55
square
#2E2C7B #7B2C51 #797B2C #2C7B55
split-complementary
#2E2C7B #7B552C #517B2C
monochromatic
#0C0C21 #1D1C4E #2E2C7B #3F3CA8 #5F5DC5

Accessibility & contrast

On white

11.92
#2E2C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E2C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C7B
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C7B#FFFFFF#000000##FFFFFF
##2E2C7B1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2c7b;
/* rgb */ color: rgb(46, 44, 123);
/* oklch */ color: oklch(34.7% 0.130 278.3);
Tailwind
colors: {
  custom: {
    50: '#7065a2',
    500: '#2e2c7b',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c7b;
$custom-light: #7065a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c7b",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 241.519,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34734,
    "c": 0.13023,
    "h": 278.3
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#2E2C7B
secondary
#A9AB58
accent
#D751D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2E2C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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