#2E2276#2E2276

#2E2276 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.136 H 282.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#2E2276
RGBrgb(46, 34, 118)
HSLhsl(249, 55%, 30%)
HSVhsv(249, 71%, 46%)
CMYKcmyk(61%, 71.2%, 0%, 53.7%)
CIE-LABlab(20.17, 31.02, -46.29)
CIE-LCHlch(20.17, 55.72, 303.83°)
OKLaboklab(32.51% 0.0288 -0.1333)
OKLCHoklch(32.51% 0.136 282.2)
XYZxyz(4.9677, 3.0326, 17.4596)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2276 #6A7622
analogous
#224076 #2E2276 #582276
triadic
#2E2276 #762E22 #22762E
tetradic
#2E2276 #762240 #6A7622 #227658
square
#2E2276 #762240 #6A7622 #227658
split-complementary
#2E2276 #765822 #407622
monochromatic
#090718 #1B1446 #2E2276 #4130A6 #5B48CA

Accessibility & contrast

On white

13.07
#2E2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2276
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2276#FFFFFF#000000##FFFFFF
##2E22761.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#023849
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2276;
/* rgb */ color: rgb(46, 34, 118);
/* oklch */ color: oklch(32.5% 0.136 282.2);
Tailwind
colors: {
  custom: {
    50: '#705e9e',
    500: '#2e2276',
    950: '#000000',
  },
}
SCSS
$custom: #2e2276;
$custom-light: #705e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2276",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 248.571,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32514,
    "c": 0.13635,
    "h": 282.2
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#2E2276
secondary
#9CA94B
accent
#DF49C9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2276

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

Preview Lab → · Contrast checker → · Palette generator →

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