#2E249D#2E249D

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

Color values

HEX#2E249D
RGBrgb(46, 36, 157)
HSLhsl(245, 63%, 38%)
HSVhsv(245, 77%, 62%)
CMYKcmyk(70.7%, 77.1%, 0%, 38.4%)
CIE-LABlab(24.56, 42.82, -63.45)
CIE-LCHlch(24.56, 76.55, 304.01°)
OKLaboklab(36.83% 0.0193 -0.1834)
OKLCHoklch(36.83% 0.184 276)
XYZxyz(7.8414, 4.2762, 32.3039)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E249D #939D24
analogous
#24569D #2E249D #6B249D
triadic
#2E249D #9D2E24 #249D2E
tetradic
#2E249D #9D2456 #939D24 #249D6B
square
#2E249D #9D2456 #939D24 #249D6B
split-complementary
#2E249D #9D6B24 #569D24
monochromatic
#110D39 #1F196B #2E249D #3D2FCF #6B61DB

Accessibility & contrast

On white

11.32
#2E249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E249D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E249D#FFFFFF#000000##FFFFFF
##2E249D1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e249d;
/* rgb */ color: rgb(46, 36, 157);
/* oklch */ color: oklch(36.8% 0.184 276.0);
Tailwind
colors: {
  custom: {
    50: '#7861bb',
    500: '#2e249d',
    950: '#000000',
  },
}
SCSS
$custom: #2e249d;
$custom-light: #7861bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e249d",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 244.959,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36832,
    "c": 0.18445,
    "h": 276
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#2E249D
secondary
#B8C05D
accent
#E642D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E249D

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

Preview Lab → · Contrast checker → · Palette generator →

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