#2E236D#2E236D

#2E236D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.123 H 283.7°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#2E236D
RGBrgb(46, 35, 109)
HSLhsl(249, 51%, 28%)
HSVhsv(249, 68%, 43%)
CMYKcmyk(57.8%, 67.9%, 0%, 57.3%)
CIE-LABlab(19.58, 27.33, -41.45)
CIE-LCHlch(19.58, 49.65, 303.40°)
OKLaboklab(31.83% 0.0291 -0.1191)
OKLCHoklch(31.83% 0.123 283.7)
XYZxyz(4.4872, 2.8868, 14.7858)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E236D #626D23
analogous
#233D6D #2E236D #53236D
triadic
#2E236D #6D2E23 #236D2E
tetradic
#2E236D #6D233D #626D23 #236D53
square
#2E236D #6D233D #626D23 #236D53
split-complementary
#2E236D #6D5323 #3D6D23
monochromatic
#0A0717 #1A143F #2E236D #42329B #5947C4

Accessibility & contrast

On white

13.31
#2E236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2E236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E236D
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E236D#FFFFFF#000000##FFFFFF
##2E236D1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#113544
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e236d;
/* rgb */ color: rgb(46, 35, 109);
/* oklch */ color: oklch(31.8% 0.123 283.7);
Tailwind
colors: {
  custom: {
    50: '#6e5e98',
    500: '#2e236d',
    950: '#000000',
  },
}
SCSS
$custom: #2e236d;
$custom-light: #6e5e98;
$custom-dark: #000000;
JSON
{
  "hex": "#2e236d",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 248.919,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31833,
    "c": 0.12257,
    "h": 283.7
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#2E236D
secondary
#94A04B
accent
#DB4DC6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2E236D

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

Preview Lab → · Contrast checker → · Palette generator →

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