#2E2C68#2E2C68

#2E2C68 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.102 H 280.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2E2C68
RGBrgb(46, 44, 104)
HSLhsl(242, 41%, 29%)
HSVhsv(242, 58%, 41%)
CMYKcmyk(55.8%, 57.7%, 0%, 59.2%)
CIE-LABlab(21.51, 19.54, -35.08)
CIE-LCHlch(21.51, 40.15, 299.12°)
OKLaboklab(33.12% 0.019 -0.1003)
OKLCHoklch(33.12% 0.102 280.8)
XYZxyz(4.5253, 3.3814, 13.5082)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C68 #66682C
analogous
#2C4868 #2E2C68 #4C2C68
triadic
#2E2C68 #682E2C #2C682E
tetradic
#2E2C68 #682C48 #66682C #2C684C
square
#2E2C68 #682C48 #66682C #2C684C
split-complementary
#2E2C68 #684C2C #48682C
monochromatic
#0A0916 #1B1A3D #2E2C68 #413E93 #5A57B8

Accessibility & contrast

On white

12.53
#2E2C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E2C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C68
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C68#FFFFFF#000000##FFFFFF
##2E2C681.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08366A
Deuteranopia (green-blind)
#013167
Tritanopia (blue-blind)
#153A45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2c68;
/* rgb */ color: rgb(46, 44, 104);
/* oklch */ color: oklch(33.1% 0.102 280.8);
Tailwind
colors: {
  custom: {
    50: '#6c6594',
    500: '#2e2c68',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c68;
$custom-light: #6c6594;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c68",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 104
  },
  "hsl": {
    "h": 242,
    "s": 40.541,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33122,
    "c": 0.10207,
    "h": 280.8
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#2E2C68
secondary
#989A56
accent
#D057CC
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2E2C68

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

Preview Lab → · Contrast checker → · Palette generator →

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