#2E2C7A#2E2C7A

#2E2C7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.129 H 278.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#2E2C7A
RGBrgb(46, 44, 122)
HSLhsl(242, 47%, 33%)
HSVhsv(242, 64%, 48%)
CMYKcmyk(62.3%, 63.9%, 0%, 52.2%)
CIE-LABlab(22.95, 25.95, -44.30)
CIE-LCHlch(22.95, 51.34, 300.36°)
OKLaboklab(34.64% 0.0189 -0.1274)
OKLCHoklch(34.64% 0.129 278.4)
XYZxyz(5.5391, 3.7869, 18.8476)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C7A #787A2C
analogous
#2C517A #2E2C7A #552C7A
triadic
#2E2C7A #7A2E2C #2C7A2E
tetradic
#2E2C7A #7A2C51 #787A2C #2C7A55
square
#2E2C7A #7A2C51 #787A2C #2C7A55
split-complementary
#2E2C7A #7A552C #517A2C
monochromatic
#0C0C20 #1D1C4D #2E2C7A #3F3CA7 #5F5CC4

Accessibility & contrast

On white

11.95
#2E2C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2C7A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C7A#FFFFFF#000000##FFFFFF
##2E2C7A1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2c7a;
/* rgb */ color: rgb(46, 44, 122);
/* oklch */ color: oklch(34.6% 0.129 278.4);
Tailwind
colors: {
  custom: {
    50: '#7065a1',
    500: '#2e2c7a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c7a;
$custom-light: #7065a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c7a",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 241.538,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34645,
    "c": 0.1288,
    "h": 278.4
  },
  "luminance": 0.03787
}

Semantic roles & 50–950 ramp

primary
#2E2C7A
secondary
#A8AA57
accent
#D751D3
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2E2C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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