#2E2288#2E2288

#2E2288 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.160 H 279.1°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2E2288
RGBrgb(46, 34, 136)
HSLhsl(247, 60%, 33%)
HSVhsv(247, 75%, 53%)
CMYKcmyk(66.2%, 75%, 0%, 46.7%)
CIE-LABlab(21.95, 37.05, -54.77)
CIE-LCHlch(21.95, 66.13, 304.08°)
OKLaboklab(34.32% 0.0253 -0.1581)
OKLCHoklch(34.32% 0.16 279.1)
XYZxyz(6.1413, 3.5020, 23.6401)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2288 #7C8822
analogous
#224988 #2E2288 #612288
triadic
#2E2288 #882E22 #22882E
tetradic
#2E2288 #882249 #7C8822 #228861
square
#2E2288 #882249 #7C8822 #228861
split-complementary
#2E2288 #886122 #498822
monochromatic
#0D0A26 #1D1657 #2E2288 #3F2EB9 #6051D3

Accessibility & contrast

On white

12.35
#2E2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E2288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2288
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2288#FFFFFF#000000##FFFFFF
##2E22881.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2288;
/* rgb */ color: rgb(46, 34, 136);
/* oklch */ color: oklch(34.3% 0.160 279.1);
Tailwind
colors: {
  custom: {
    50: '#735fac',
    500: '#2e2288',
    950: '#000000',
  },
}
SCSS
$custom: #2e2288;
$custom-light: #735fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2288",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 247.059,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34324,
    "c": 0.16011,
    "h": 279.1
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#2E2288
secondary
#ABB74F
accent
#E345D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2288

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

Preview Lab → · Contrast checker → · Palette generator →

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