#2E2299#2E2299

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

Color values

HEX#2E2299
RGBrgb(46, 34, 153)
HSLhsl(246, 64%, 37%)
HSVhsv(246, 78%, 60%)
CMYKcmyk(69.9%, 77.8%, 0%, 40%)
CIE-LABlab(23.75, 42.61, -62.35)
CIE-LCHlch(23.75, 75.52, 304.35°)
OKLaboklab(36.13% 0.0213 -0.1802)
OKLCHoklch(36.13% 0.181 276.8)
XYZxyz(7.4466, 4.0241, 30.5151)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2299 #8D9922
analogous
#225299 #2E2299 #6A2299
triadic
#2E2299 #992E22 #22992E
tetradic
#2E2299 #992252 #8D9922 #22996A
square
#2E2299 #992252 #8D9922 #22996A
split-complementary
#2E2299 #996A22 #529922
monochromatic
#100C35 #1F1767 #2E2299 #3D2DCB #685BDB

Accessibility & contrast

On white

11.63
#2E2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2299
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2299#FFFFFF#000000##FFFFFF
##2E22991.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2299;
/* rgb */ color: rgb(46, 34, 153);
/* oklch */ color: oklch(36.1% 0.181 276.8);
Tailwind
colors: {
  custom: {
    50: '#7760b8',
    500: '#2e2299',
    950: '#000000',
  },
}
SCSS
$custom: #2e2299;
$custom-light: #7760b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2299",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 246.05,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36132,
    "c": 0.18144,
    "h": 276.8
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#2E2299
secondary
#B5BF58
accent
#E741D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E2299

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

Preview Lab → · Contrast checker → · Palette generator →

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