#2E289E#2E289E

#2E289E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.182 H 275.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2E289E
RGBrgb(46, 40, 158)
HSLhsl(243, 60%, 39%)
HSVhsv(243, 75%, 62%)
CMYKcmyk(70.9%, 74.7%, 0%, 38%)
CIE-LABlab(25.46, 40.91, -62.58)
CIE-LCHlch(25.46, 74.77, 303.17°)
OKLaboklab(37.5% 0.017 -0.1809)
OKLCHoklch(37.5% 0.182 275.4)
XYZxyz(8.0550, 4.5663, 32.7980)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E289E #989E28
analogous
#285D9E #2E289E #69289E
triadic
#2E289E #9E2E28 #289E2E
tetradic
#2E289E #9E285D #989E28 #289E69
square
#2E289E #9E285D #989E28 #289E69
split-complementary
#2E289E #9E6928 #5D9E28
monochromatic
#120F3C #201C6D #2E289E #3E37CC #6D68D9

Accessibility & contrast

On white

10.98
#2E289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E289E
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E289E#FFFFFF#000000##FFFFFF
##2E289E1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e289e;
/* rgb */ color: rgb(46, 40, 158);
/* oklch */ color: oklch(37.5% 0.182 275.4);
Tailwind
colors: {
  custom: {
    50: '#7864bc',
    500: '#2e289e',
    950: '#000000',
  },
}
SCSS
$custom: #2e289e;
$custom-light: #7864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e289e",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 243.051,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37498,
    "c": 0.18171,
    "h": 275.4
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#2E289E
secondary
#BABF63
accent
#E345DB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E289E

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

Preview Lab → · Contrast checker → · Palette generator →

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