#2E2289#2E2289

#2E2289 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.161 H 278.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#2E2289
RGBrgb(46, 34, 137)
HSLhsl(247, 60%, 34%)
HSVhsv(247, 75%, 54%)
CMYKcmyk(66.4%, 75.2%, 0%, 46.3%)
CIE-LABlab(22.05, 37.38, -55.23)
CIE-LCHlch(22.05, 66.69, 304.09°)
OKLaboklab(34.43% 0.0251 -0.1594)
OKLCHoklch(34.43% 0.161 278.9)
XYZxyz(6.2127, 3.5305, 24.0161)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2289 #7D8922
analogous
#224989 #2E2289 #612289
triadic
#2E2289 #892E22 #22892E
tetradic
#2E2289 #892249 #7D8922 #228961
square
#2E2289 #892249 #7D8922 #228961
split-complementary
#2E2289 #896122 #498922
monochromatic
#0D0A27 #1E1658 #2E2289 #3E2EBA #6151D4

Accessibility & contrast

On white

12.31
#2E2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2E2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2289
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2289#FFFFFF#000000##FFFFFF
##2E22891.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2289;
/* rgb */ color: rgb(46, 34, 137);
/* oklch */ color: oklch(34.4% 0.161 278.9);
Tailwind
colors: {
  custom: {
    50: '#745fac',
    500: '#2e2289',
    950: '#000000',
  },
}
SCSS
$custom: #2e2289;
$custom-light: #745fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2289",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 246.99,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34428,
    "c": 0.16139,
    "h": 278.9
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#2E2289
secondary
#ABB84F
accent
#E344D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2289

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

Preview Lab → · Contrast checker → · Palette generator →

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