#2E2899#2E2899

#2E2899 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.175 H 275.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2E2899
RGBrgb(46, 40, 153)
HSLhsl(243, 59%, 38%)
HSVhsv(243, 74%, 60%)
CMYKcmyk(69.9%, 73.9%, 0%, 40%)
CIE-LABlab(24.94, 39.24, -60.38)
CIE-LCHlch(24.94, 72.01, 303.02°)
OKLaboklab(36.98% 0.0179 -0.1745)
OKLCHoklch(36.98% 0.175 275.9)
XYZxyz(7.6334, 4.3976, 30.5774)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2899 #939928
analogous
#285A99 #2E2899 #662899
triadic
#2E2899 #992E28 #28992E
tetradic
#2E2899 #99285A #939928 #289966
square
#2E2899 #99285A #939928 #289966
split-complementary
#2E2899 #996628 #5A9928
monochromatic
#110F38 #1F1B68 #2E2899 #3D35CA #6B65D7

Accessibility & contrast

On white

11.17
#2E2899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E2899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2899
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2899#FFFFFF#000000##FFFFFF
##2E28991.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2899;
/* rgb */ color: rgb(46, 40, 153);
/* oklch */ color: oklch(37.0% 0.175 275.9);
Tailwind
colors: {
  custom: {
    50: '#7763b8',
    500: '#2e2899',
    950: '#000000',
  },
}
SCSS
$custom: #2e2899;
$custom-light: #7763b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2899",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 243.186,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36976,
    "c": 0.17541,
    "h": 275.9
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#2E2899
secondary
#B8BD60
accent
#E246D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2E2899

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

Preview Lab → · Contrast checker → · Palette generator →

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