#2E298D#2E298D

#2E298D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.159 H 277.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#2E298D
RGBrgb(46, 41, 141)
HSLhsl(243, 55%, 36%)
HSVhsv(243, 71%, 55%)
CMYKcmyk(67.4%, 70.9%, 0%, 44.7%)
CIE-LABlab(23.96, 34.55, -54.58)
CIE-LCHlch(23.96, 64.60, 302.33°)
OKLaboklab(35.91% 0.0194 -0.1576)
OKLCHoklch(35.91% 0.159 277)
XYZxyz(6.7258, 4.0892, 25.6290)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E298D #888D29
analogous
#29568D #2E298D #60298D
triadic
#2E298D #8D2E29 #298D2E
tetradic
#2E298D #8D2956 #888D29 #298D60
square
#2E298D #8D2956 #888D29 #298D60
split-complementary
#2E298D #8D6029 #568D29
monochromatic
#0F0D2E #1F1B5E #2E298D #3D37BC #6560D1

Accessibility & contrast

On white

11.55
#2E298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E298D
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E298D#FFFFFF#000000##FFFFFF
##2E298D1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e298d;
/* rgb */ color: rgb(46, 41, 141);
/* oklch */ color: oklch(35.9% 0.159 277.0);
Tailwind
colors: {
  custom: {
    50: '#7464af',
    500: '#2e298d',
    950: '#000000',
  },
}
SCSS
$custom: #2e298d;
$custom-light: #7464af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e298d",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 243,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35913,
    "c": 0.15875,
    "h": 277
  },
  "luminance": 0.0409
}

Semantic roles & 50–950 ramp

primary
#2E298D
secondary
#B2B65B
accent
#DE4AD7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E298D

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

Preview Lab → · Contrast checker → · Palette generator →

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