#2E249E#2E249E

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

Color values

HEX#2E249E
RGBrgb(46, 36, 158)
HSLhsl(245, 63%, 38%)
HSVhsv(245, 77%, 62%)
CMYKcmyk(70.9%, 77.2%, 0%, 38%)
CIE-LABlab(24.67, 43.14, -63.89)
CIE-LCHlch(24.67, 77.09, 304.03°)
OKLaboklab(36.94% 0.0191 -0.1847)
OKLCHoklch(36.94% 0.186 275.9)
XYZxyz(7.9271, 4.3105, 32.7554)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E249E #949E24
analogous
#24579E #2E249E #6B249E
triadic
#2E249E #9E2E24 #249E2E
tetradic
#2E249E #9E2457 #949E24 #249E6B
square
#2E249E #9E2457 #949E24 #249E6B
split-complementary
#2E249E #9E6B24 #579E24
monochromatic
#110D3A #1F196C #2E249E #3D2FD0 #6B61DB

Accessibility & contrast

On white

11.28
#2E249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E249E
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E249E#FFFFFF#000000##FFFFFF
##2E249E1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e249e;
/* rgb */ color: rgb(46, 36, 158);
/* oklch */ color: oklch(36.9% 0.186 275.9);
Tailwind
colors: {
  custom: {
    50: '#7861bc',
    500: '#2e249e',
    950: '#000000',
  },
}
SCSS
$custom: #2e249e;
$custom-light: #7861bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e249e",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 244.918,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36941,
    "c": 0.18567,
    "h": 275.9
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#2E249E
secondary
#B8C05E
accent
#E642D8
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E249E

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

Preview Lab → · Contrast checker → · Palette generator →

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