#2E289D#2E289D

#2E289D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.180 H 275.5°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2E289D
RGBrgb(46, 40, 157)
HSLhsl(243, 59%, 39%)
HSVhsv(243, 75%, 62%)
CMYKcmyk(70.7%, 74.5%, 0%, 38.4%)
CIE-LABlab(25.36, 40.58, -62.14)
CIE-LCHlch(25.36, 74.22, 303.14°)
OKLaboklab(37.39% 0.0172 -0.1796)
OKLCHoklch(37.39% 0.18 275.5)
XYZxyz(7.9693, 4.5320, 32.3465)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E289D #979D28
analogous
#285C9D #2E289D #68289D
triadic
#2E289D #9D2E28 #289D2E
tetradic
#2E289D #9D285C #979D28 #289D68
square
#2E289D #9D285C #979D28 #289D68
split-complementary
#2E289D #9D6828 #5C9D28
monochromatic
#110F3B #201C6C #2E289D #3E36CC #6D67D8

Accessibility & contrast

On white

11.01
#2E289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E289D
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E289D#FFFFFF#000000##FFFFFF
##2E289D1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e289d;
/* rgb */ color: rgb(46, 40, 157);
/* oklch */ color: oklch(37.4% 0.180 275.5);
Tailwind
colors: {
  custom: {
    50: '#7864bb',
    500: '#2e289d',
    950: '#000000',
  },
}
SCSS
$custom: #2e289d;
$custom-light: #7864bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e289d",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 243.077,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37393,
    "c": 0.18047,
    "h": 275.5
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#2E289D
secondary
#BABE62
accent
#E345DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E289D

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

Preview Lab → · Contrast checker → · Palette generator →

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