#2E2368#2E2368

#2E2368 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.4% C 0.115 H 284.9°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#2E2368
RGBrgb(46, 35, 104)
HSLhsl(250, 50%, 27%)
HSVhsv(250, 66%, 41%)
CMYKcmyk(55.8%, 66.3%, 0%, 59.2%)
CIE-LABlab(19.15, 25.62, -38.90)
CIE-LCHlch(19.15, 46.58, 303.37°)
OKLaboklab(31.38% 0.0296 -0.1116)
OKLCHoklch(31.38% 0.115 284.9)
XYZxyz(4.2257, 2.7822, 13.4084)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2368 #5D6823
analogous
#233B68 #2E2368 #502368
triadic
#2E2368 #682E23 #23682E
tetradic
#2E2368 #68233B #5D6823 #236850
square
#2E2368 #68233B #5D6823 #236850
split-complementary
#2E2368 #685023 #3B6823
monochromatic
#0A0817 #1A143A #2E2368 #423296 #5945C0

Accessibility & contrast

On white

13.49
#2E2368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2E2368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2368
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2368#FFFFFF#000000##FFFFFF
##2E23681.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#163442
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e2368;
/* rgb */ color: rgb(46, 35, 104);
/* oklch */ color: oklch(31.4% 0.115 284.9);
Tailwind
colors: {
  custom: {
    50: '#6d5e94',
    500: '#2e2368',
    950: '#000000',
  },
}
SCSS
$custom: #2e2368;
$custom-light: #6d5e94;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2368",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 104
  },
  "hsl": {
    "h": 249.565,
    "s": 49.64,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3138,
    "c": 0.11545,
    "h": 284.9
  },
  "luminance": 0.02782
}

Semantic roles & 50–950 ramp

primary
#2E2368
secondary
#8F9B4B
accent
#D94FC3
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2E2368

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

Preview Lab → · Contrast checker → · Palette generator →

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