#2E2999#2E2999

#2E2999 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.174 H 275.7°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2E2999
RGBrgb(46, 41, 153)
HSLhsl(243, 58%, 38%)
HSVhsv(243, 73%, 60%)
CMYKcmyk(69.9%, 73.2%, 0%, 40%)
CIE-LABlab(25.16, 38.65, -60.03)
CIE-LCHlch(25.16, 71.40, 302.77°)
OKLaboklab(37.13% 0.0173 -0.1735)
OKLCHoklch(37.13% 0.174 275.7)
XYZxyz(7.6675, 4.4659, 30.5887)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2999 #949929
analogous
#295C99 #2E2999 #662999
triadic
#2E2999 #992E29 #29992E
tetradic
#2E2999 #99295C #949929 #299966
square
#2E2999 #99295C #949929 #299966
split-complementary
#2E2999 #996629 #5C9929
monochromatic
#110F38 #1F1C69 #2E2999 #3D36C9 #6B66D6

Accessibility & contrast

On white

11.09
#2E2999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E2999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2999
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2999#FFFFFF#000000##FFFFFF
##2E29991.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2999;
/* rgb */ color: rgb(46, 41, 153);
/* oklch */ color: oklch(37.1% 0.174 275.7);
Tailwind
colors: {
  custom: {
    50: '#7764b8',
    500: '#2e2999',
    950: '#000000',
  },
}
SCSS
$custom: #2e2999;
$custom-light: #7764b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2999",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 242.679,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37126,
    "c": 0.17434,
    "h": 275.7
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#2E2999
secondary
#B8BC62
accent
#E147DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2E2999

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

Preview Lab → · Contrast checker → · Palette generator →

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