#2E236F#2E236F

#2E236F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.125 H 283.3°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#2E236F
RGBrgb(46, 35, 111)
HSLhsl(249, 52%, 29%)
HSVhsv(249, 68%, 44%)
CMYKcmyk(58.6%, 68.5%, 0%, 56.5%)
CIE-LABlab(19.76, 28.01, -42.45)
CIE-LCHlch(19.76, 50.86, 303.42°)
OKLaboklab(32.02% 0.0289 -0.122)
OKLCHoklch(32.02% 0.125 283.3)
XYZxyz(4.5961, 2.9303, 15.3593)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E236F #646F23
analogous
#233E6F #2E236F #54236F
triadic
#2E236F #6F2E23 #236F2E
tetradic
#2E236F #6F233E #646F23 #236F54
square
#2E236F #6F233E #646F23 #236F54
split-complementary
#2E236F #6F5423 #3E6F23
monochromatic
#0A0717 #1B1440 #2E236F #41329E #5A47C5

Accessibility & contrast

On white

13.24
#2E236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2E236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E236F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E236F#FFFFFF#000000##FFFFFF
##2E236F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#0F3645
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e236f;
/* rgb */ color: rgb(46, 35, 111);
/* oklch */ color: oklch(32.0% 0.125 283.3);
Tailwind
colors: {
  custom: {
    50: '#6e5f99',
    500: '#2e236f',
    950: '#000000',
  },
}
SCSS
$custom: #2e236f;
$custom-light: #6e5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#2e236f",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 248.684,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32018,
    "c": 0.12539,
    "h": 283.3
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#2E236F
secondary
#96A24C
accent
#DB4CC7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2E236F

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

Preview Lab → · Contrast checker → · Palette generator →

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