#2E2C8E#2E2C8E

#2E2C8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.157 H 276.2°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2E2C8E
RGBrgb(46, 44, 142)
HSLhsl(241, 53%, 36%)
HSVhsv(241, 69%, 56%)
CMYKcmyk(67.6%, 69%, 0%, 44.3%)
CIE-LABlab(24.75, 33.03, -53.92)
CIE-LCHlch(24.75, 63.23, 301.49°)
OKLaboklab(36.51% 0.017 -0.1556)
OKLCHoklch(36.51% 0.157 276.2)
XYZxyz(6.9083, 4.3346, 26.0585)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C8E #8C8E2C
analogous
#2C5B8E #2E2C8E #5F2C8E
triadic
#2E2C8E #8E2E2C #2C8E2E
tetradic
#2E2C8E #8E2C5B #8C8E2C #2C8E5F
square
#2E2C8E #8E2C5B #8C8E2C #2C8E5F
split-complementary
#2E2C8E #8E5F2C #5B8E2C
monochromatic
#100F31 #1F1E5F #2E2C8E #3D3ABD #6765CF

Accessibility & contrast

On white

11.25
#2E2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C8E
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C8E#FFFFFF#000000##FFFFFF
##2E2C8E1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2c8e;
/* rgb */ color: rgb(46, 44, 142);
/* oklch */ color: oklch(36.5% 0.157 276.2);
Tailwind
colors: {
  custom: {
    50: '#7466b0',
    500: '#2e2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c8e;
$custom-light: #7466b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c8e",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 241.224,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36507,
    "c": 0.15654,
    "h": 276.2
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#2E2C8E
secondary
#B4B660
accent
#DC4CD9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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