#2E2C8F#2E2C8F

#2E2C8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.158 H 276.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2E2C8F
RGBrgb(46, 44, 143)
HSLhsl(241, 53%, 37%)
HSVhsv(241, 69%, 56%)
CMYKcmyk(67.8%, 69.2%, 0%, 43.9%)
CIE-LABlab(24.84, 33.38, -54.38)
CIE-LCHlch(24.84, 63.81, 301.54°)
OKLaboklab(36.6% 0.0168 -0.157)
OKLCHoklch(36.6% 0.158 276.1)
XYZxyz(6.9837, 4.3648, 26.4557)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C8F #8D8F2C
analogous
#2C5C8F #2E2C8F #602C8F
triadic
#2E2C8F #8F2E2C #2C8F2E
tetradic
#2E2C8F #8F2C5C #8D8F2C #2C8F60
square
#2E2C8F #8F2C5C #8D8F2C #2C8F60
split-complementary
#2E2C8F #8F602C #5C8F2C
monochromatic
#100F31 #1F1E60 #2E2C8F #3D3ABE #6866D0

Accessibility & contrast

On white

11.21
#2E2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2C8F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C8F#FFFFFF#000000##FFFFFF
##2E2C8F1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2c8f;
/* rgb */ color: rgb(46, 44, 143);
/* oklch */ color: oklch(36.6% 0.158 276.1);
Tailwind
colors: {
  custom: {
    50: '#7466b1',
    500: '#2e2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c8f;
$custom-light: #7466b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c8f",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 241.212,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36604,
    "c": 0.15788,
    "h": 276.1
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#2E2C8F
secondary
#B5B661
accent
#DC4BD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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