#2E236A#2E236A

#2E236A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.6% C 0.118 H 284.4°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#2E236A
RGBrgb(46, 35, 106)
HSLhsl(249, 50%, 28%)
HSVhsv(249, 67%, 42%)
CMYKcmyk(56.6%, 67%, 0%, 58.4%)
CIE-LABlab(19.32, 26.30, -39.92)
CIE-LCHlch(19.32, 47.81, 303.38°)
OKLaboklab(31.56% 0.0294 -0.1146)
OKLCHoklch(31.56% 0.118 284.4)
XYZxyz(4.3285, 2.8233, 13.9497)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E236A #5F6A23
analogous
#233B6A #2E236A #52236A
triadic
#2E236A #6A2E23 #236A2E
tetradic
#2E236A #6A233B #5F6A23 #236A52
square
#2E236A #6A233B #5F6A23 #236A52
split-complementary
#2E236A #6A5223 #3B6A23
monochromatic
#0A0817 #1A143C #2E236A #423298 #5946C2

Accessibility & contrast

On white

13.42
#2E236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E236A
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E236A#FFFFFF#000000##FFFFFF
##2E236A1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#153443
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e236a;
/* rgb */ color: rgb(46, 35, 106);
/* oklch */ color: oklch(31.6% 0.118 284.4);
Tailwind
colors: {
  custom: {
    50: '#6d5e95',
    500: '#2e236a',
    950: '#000000',
  },
}
SCSS
$custom: #2e236a;
$custom-light: #6d5e95;
$custom-dark: #000000;
JSON
{
  "hex": "#2e236a",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 249.296,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3156,
    "c": 0.11831,
    "h": 284.4
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#2E236A
secondary
#919D4B
accent
#DA4EC4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2E236A

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

Preview Lab → · Contrast checker → · Palette generator →

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