#2E239A#2E239A

#2E239A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.182 H 276.5°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2E239A
RGBrgb(46, 35, 154)
HSLhsl(246, 63%, 37%)
HSVhsv(246, 77%, 60%)
CMYKcmyk(70.1%, 77.3%, 0%, 39.6%)
CIE-LABlab(24.05, 42.39, -62.47)
CIE-LCHlch(24.05, 75.49, 304.16°)
OKLaboklab(36.37% 0.0206 -0.1805)
OKLCHoklch(36.37% 0.182 276.5)
XYZxyz(7.5586, 4.1153, 30.9616)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E239A #8F9A23
analogous
#23549A #2E239A #6A239A
triadic
#2E239A #9A2E23 #239A2E
tetradic
#2E239A #9A2354 #8F9A23 #239A6A
square
#2E239A #9A2354 #8F9A23 #239A6A
split-complementary
#2E239A #9A6A23 #549A23
monochromatic
#100C36 #1F1868 #2E239A #3D2ECC #695DDA

Accessibility & contrast

On white

11.52
#2E239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E239A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E239A#FFFFFF#000000##FFFFFF
##2E239A1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e239a;
/* rgb */ color: rgb(46, 35, 154);
/* oklch */ color: oklch(36.4% 0.182 276.5);
Tailwind
colors: {
  custom: {
    50: '#7760b9',
    500: '#2e239a',
    950: '#000000',
  },
}
SCSS
$custom: #2e239a;
$custom-light: #7760b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e239a",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 245.546,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36374,
    "c": 0.18172,
    "h": 276.5
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#2E239A
secondary
#B6BF5A
accent
#E642D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E239A

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

Preview Lab → · Contrast checker → · Palette generator →

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