#2E298F#2E298F

#2E298F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.161 H 276.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2E298F
RGBrgb(46, 41, 143)
HSLhsl(243, 55%, 36%)
HSVhsv(243, 71%, 56%)
CMYKcmyk(67.8%, 71.3%, 0%, 43.9%)
CIE-LABlab(24.16, 35.24, -55.50)
CIE-LCHlch(24.16, 65.75, 302.41°)
OKLaboklab(36.11% 0.019 -0.1603)
OKLCHoklch(36.11% 0.161 276.8)
XYZxyz(6.8760, 4.1493, 26.4198)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E298F #8A8F29
analogous
#29578F #2E298F #61298F
triadic
#2E298F #8F2E29 #298F2E
tetradic
#2E298F #8F2957 #8A8F29 #298F61
square
#2E298F #8F2957 #8A8F29 #298F61
split-complementary
#2E298F #8F6129 #578F29
monochromatic
#0F0E30 #1F1B5F #2E298F #3D37BF #6661D2

Accessibility & contrast

On white

11.48
#2E298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E298F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E298F#FFFFFF#000000##FFFFFF
##2E298F1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e298f;
/* rgb */ color: rgb(46, 41, 143);
/* oklch */ color: oklch(36.1% 0.161 276.8);
Tailwind
colors: {
  custom: {
    50: '#7464b1',
    500: '#2e298f',
    950: '#000000',
  },
}
SCSS
$custom: #2e298f;
$custom-light: #7464b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e298f",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 242.941,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36112,
    "c": 0.1614,
    "h": 276.8
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E298F

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

Preview Lab → · Contrast checker → · Palette generator →

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