#2E259D#2E259D

#2E259D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.183 H 275.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2E259D
RGBrgb(46, 37, 157)
HSLhsl(245, 62%, 38%)
HSVhsv(245, 76%, 62%)
CMYKcmyk(70.7%, 76.4%, 0%, 38.4%)
CIE-LABlab(24.76, 42.27, -63.13)
CIE-LCHlch(24.76, 75.98, 303.80°)
OKLaboklab(36.97% 0.0188 -0.1825)
OKLCHoklch(36.97% 0.183 275.9)
XYZxyz(7.8721, 4.3376, 32.3141)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E259D #949D25
analogous
#25589D #2E259D #6A259D
triadic
#2E259D #9D2E25 #259D2E
tetradic
#2E259D #9D2558 #949D25 #259D6A
square
#2E259D #9D2558 #949D25 #259D6A
split-complementary
#2E259D #9D6A25 #589D25
monochromatic
#110E3A #1F196B #2E259D #3D31CE #6B62DA

Accessibility & contrast

On white

11.24
#2E259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E259D
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E259D#FFFFFF#000000##FFFFFF
##2E259D1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e259d;
/* rgb */ color: rgb(46, 37, 157);
/* oklch */ color: oklch(37.0% 0.183 275.9);
Tailwind
colors: {
  custom: {
    50: '#7862bb',
    500: '#2e259d',
    950: '#000000',
  },
}
SCSS
$custom: #2e259d;
$custom-light: #7862bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e259d",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 244.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36969,
    "c": 0.18348,
    "h": 275.9
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#2E259D
secondary
#B8BF5E
accent
#E543D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E259D

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

Preview Lab → · Contrast checker → · Palette generator →

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