#2E239D#2E239D

#2E239D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.185 H 276.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2E239D
RGBrgb(46, 35, 157)
HSLhsl(245, 64%, 38%)
HSVhsv(245, 78%, 62%)
CMYKcmyk(70.7%, 77.7%, 0%, 38.4%)
CIE-LABlab(24.37, 43.36, -63.77)
CIE-LCHlch(24.37, 77.11, 304.22°)
OKLaboklab(36.7% 0.0199 -0.1843)
OKLCHoklch(36.7% 0.185 276.1)
XYZxyz(7.8116, 4.2165, 32.2939)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E239D #929D23
analogous
#23559D #2E239D #6B239D
triadic
#2E239D #9D2E23 #239D2E
tetradic
#2E239D #9D2355 #929D23 #239D6B
square
#2E239D #9D2355 #929D23 #239D6B
split-complementary
#2E239D #9D6B23 #559D23
monochromatic
#110D39 #1F186B #2E239D #3D2ECF #6A5FDB

Accessibility & contrast

On white

11.39
#2E239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E239D
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E239D#FFFFFF#000000##FFFFFF
##2E239D1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00349B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e239d;
/* rgb */ color: rgb(46, 35, 157);
/* oklch */ color: oklch(36.7% 0.185 276.1);
Tailwind
colors: {
  custom: {
    50: '#7861bb',
    500: '#2e239d',
    950: '#000000',
  },
}
SCSS
$custom: #2e239d;
$custom-light: #7861bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e239d",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 245.41,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36699,
    "c": 0.1854,
    "h": 276.1
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#2E239D
secondary
#B7C05C
accent
#E741D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E239D

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

Preview Lab → · Contrast checker → · Palette generator →

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