#2E289A#2E289A

#2E289A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.177 H 275.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2E289A
RGBrgb(46, 40, 154)
HSLhsl(243, 59%, 38%)
HSVhsv(243, 74%, 60%)
CMYKcmyk(70.1%, 74%, 0%, 39.6%)
CIE-LABlab(25.05, 39.57, -60.82)
CIE-LCHlch(25.05, 72.56, 303.05°)
OKLaboklab(37.08% 0.0177 -0.1758)
OKLCHoklch(37.08% 0.177 275.8)
XYZxyz(7.7163, 4.4308, 31.0142)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E289A #949A28
analogous
#285B9A #2E289A #67289A
triadic
#2E289A #9A2E28 #289A2E
tetradic
#2E289A #9A285B #949A28 #289A67
square
#2E289A #9A285B #949A28 #289A67
split-complementary
#2E289A #9A6728 #5B9A28
monochromatic
#110F39 #1F1B69 #2E289A #3D35CA #6B65D7

Accessibility & contrast

On white

11.13
#2E289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E289A
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E289A#FFFFFF#000000##FFFFFF
##2E289A1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e289a;
/* rgb */ color: rgb(46, 40, 154);
/* oklch */ color: oklch(37.1% 0.177 275.8);
Tailwind
colors: {
  custom: {
    50: '#7763b9',
    500: '#2e289a',
    950: '#000000',
  },
}
SCSS
$custom: #2e289a;
$custom-light: #7763b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e289a",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 243.158,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3708,
    "c": 0.17668,
    "h": 275.8
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#2E289A
secondary
#B8BD61
accent
#E246DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E289A

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

Preview Lab → · Contrast checker → · Palette generator →

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