#2E298E#2E298E

#2E298E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.160 H 276.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2E298E
RGBrgb(46, 41, 142)
HSLhsl(243, 55%, 36%)
HSVhsv(243, 71%, 56%)
CMYKcmyk(67.6%, 71.1%, 0%, 44.3%)
CIE-LABlab(24.06, 34.89, -55.04)
CIE-LCHlch(24.06, 65.17, 302.37°)
OKLaboklab(36.01% 0.0192 -0.1589)
OKLCHoklch(36.01% 0.16 276.9)
XYZxyz(6.8005, 4.1191, 26.0226)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E298E #898E29
analogous
#29568E #2E298E #60298E
triadic
#2E298E #8E2E29 #298E2E
tetradic
#2E298E #8E2956 #898E29 #298E60
square
#2E298E #8E2956 #898E29 #298E60
split-complementary
#2E298E #8E6029 #568E29
monochromatic
#0F0E2F #1F1B5F #2E298E #3D37BD #6660D1

Accessibility & contrast

On white

11.51
#2E298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E298E
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E298E#FFFFFF#000000##FFFFFF
##2E298E1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e298e;
/* rgb */ color: rgb(46, 41, 142);
/* oklch */ color: oklch(36.0% 0.160 276.9);
Tailwind
colors: {
  custom: {
    50: '#7464b0',
    500: '#2e298e',
    950: '#000000',
  },
}
SCSS
$custom: #2e298e;
$custom-light: #7464b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e298e",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 242.97,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36012,
    "c": 0.16008,
    "h": 276.9
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#2E298E
secondary
#B2B75C
accent
#DF49D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2E298E

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

Preview Lab → · Contrast checker → · Palette generator →

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