#2E259B#2E259B

#2E259B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.181 H 276.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2E259B
RGBrgb(46, 37, 155)
HSLhsl(245, 61%, 38%)
HSVhsv(245, 76%, 61%)
CMYKcmyk(70.3%, 76.1%, 0%, 39.2%)
CIE-LABlab(24.54, 41.62, -62.26)
CIE-LCHlch(24.54, 74.89, 303.76°)
OKLaboklab(36.75% 0.0193 -0.18)
OKLCHoklch(36.75% 0.181 276.1)
XYZxyz(7.7027, 4.2698, 31.4222)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E259B #929B25
analogous
#25579B #2E259B #69259B
triadic
#2E259B #9B2E25 #259B2E
tetradic
#2E259B #9B2557 #929B25 #259B69
square
#2E259B #9B2557 #929B25 #259B69
split-complementary
#2E259B #9B6925 #579B25
monochromatic
#110D38 #1F196A #2E259B #3D31CC #6A61D9

Accessibility & contrast

On white

11.33
#2E259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E259B
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E259B#FFFFFF#000000##FFFFFF
##2E259B1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e259b;
/* rgb */ color: rgb(46, 37, 155);
/* oklch */ color: oklch(36.8% 0.181 276.1);
Tailwind
colors: {
  custom: {
    50: '#7762ba',
    500: '#2e259b',
    950: '#000000',
  },
}
SCSS
$custom: #2e259b;
$custom-light: #7762ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e259b",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 244.576,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36755,
    "c": 0.181,
    "h": 276.1
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#2E259B
secondary
#B7BF5D
accent
#E543D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E259B

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

Preview Lab → · Contrast checker → · Palette generator →

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