#2E2C8A#2E2C8A

#2E2C8A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.151 H 276.6°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2E2C8A
RGBrgb(46, 44, 138)
HSLhsl(241, 52%, 36%)
HSVhsv(241, 68%, 54%)
CMYKcmyk(66.7%, 68.1%, 0%, 45.9%)
CIE-LABlab(24.38, 31.62, -52.04)
CIE-LCHlch(24.38, 60.90, 301.28°)
OKLaboklab(36.12% 0.0175 -0.1501)
OKLCHoklch(36.12% 0.151 276.6)
XYZxyz(6.6133, 4.2166, 24.5052)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C8A #888A2C
analogous
#2C598A #2E2C8A #5D2C8A
triadic
#2E2C8A #8A2E2C #2C8A2E
tetradic
#2E2C8A #8A2C59 #888A2C #2C8A5D
square
#2E2C8A #8A2C59 #888A2C #2C8A5D
split-complementary
#2E2C8A #8A5D2C #598A2C
monochromatic
#0F0E2D #1F1D5C #2E2C8A #3D3BB8 #6563CD

Accessibility & contrast

On white

11.39
#2E2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C8A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C8A#FFFFFF#000000##FFFFFF
##2E2C8A1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2c8a;
/* rgb */ color: rgb(46, 44, 138);
/* oklch */ color: oklch(36.1% 0.151 276.6);
Tailwind
colors: {
  custom: {
    50: '#7366ad',
    500: '#2e2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c8a;
$custom-light: #7366ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c8a",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 241.277,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36122,
    "c": 0.15114,
    "h": 276.6
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#2E2C8A
secondary
#B2B45E
accent
#DB4DD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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