#2E2290#2E2290

#2E2290 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.170 H 277.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#2E2290
RGBrgb(46, 34, 144)
HSLhsl(247, 62%, 35%)
HSVhsv(247, 76%, 56%)
CMYKcmyk(68.1%, 76.4%, 0%, 43.5%)
CIE-LABlab(22.79, 39.69, -58.39)
CIE-LCHlch(22.79, 70.60, 304.21°)
OKLaboklab(35.17% 0.0235 -0.1686)
OKLCHoklch(35.17% 0.17 277.9)
XYZxyz(6.7312, 3.7379, 26.7469)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2290 #849022
analogous
#224D90 #2E2290 #652290
triadic
#2E2290 #902E22 #22902E
tetradic
#2E2290 #90224D #849022 #229065
square
#2E2290 #90224D #849022 #229065
split-complementary
#2E2290 #906522 #4D9022
monochromatic
#0E0B2D #1E165E #2E2290 #3E2EC2 #6455D7

Accessibility & contrast

On white

12.02
#2E2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2E2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2290
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2290#FFFFFF#000000##FFFFFF
##2E22901.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2290;
/* rgb */ color: rgb(46, 34, 144);
/* oklch */ color: oklch(35.2% 0.170 277.9);
Tailwind
colors: {
  custom: {
    50: '#755fb2',
    500: '#2e2290',
    950: '#000000',
  },
}
SCSS
$custom: #2e2290;
$custom-light: #755fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2290",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 246.545,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35165,
    "c": 0.17027,
    "h": 277.9
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#2E2290
secondary
#B0BB53
accent
#E543D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2290

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

Preview Lab → · Contrast checker → · Palette generator →

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