#2E289B#2E289B

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

Color values

HEX#2E289B
RGBrgb(46, 40, 155)
HSLhsl(243, 59%, 38%)
HSVhsv(243, 74%, 61%)
CMYKcmyk(70.3%, 74.2%, 0%, 39.2%)
CIE-LABlab(25.15, 39.91, -61.26)
CIE-LCHlch(25.15, 73.11, 303.08°)
OKLaboklab(37.18% 0.0175 -0.1771)
OKLCHoklch(37.18% 0.178 275.7)
XYZxyz(7.8000, 4.4643, 31.4546)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E289B #959B28
analogous
#285C9B #2E289B #67289B
triadic
#2E289B #9B2E28 #289B2E
tetradic
#2E289B #9B285C #959B28 #289B67
square
#2E289B #9B285C #959B28 #289B67
split-complementary
#2E289B #9B6728 #5C9B28
monochromatic
#110F3A #201B6A #2E289B #3D35CB #6C66D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E289B#FFFFFF#000000##FFFFFF
##2E289B1.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)
#00419E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e289b;
/* rgb */ color: rgb(46, 40, 155);
/* oklch */ color: oklch(37.2% 0.178 275.7);
Tailwind
colors: {
  custom: {
    50: '#7764ba',
    500: '#2e289b',
    950: '#000000',
  },
}
SCSS
$custom: #2e289b;
$custom-light: #7764ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e289b",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 243.13,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37184,
    "c": 0.17795,
    "h": 275.7
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E289B

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

Preview Lab → · Contrast checker → · Palette generator →

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