#2E2078#2E2078

#2E2078 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.141 H 282.3°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#2E2078
RGBrgb(46, 32, 120)
HSLhsl(250, 58%, 30%)
HSVhsv(250, 73%, 47%)
CMYKcmyk(61.7%, 73.3%, 0%, 52.9%)
CIE-LABlab(19.92, 32.91, -47.98)
CIE-LCHlch(19.92, 58.19, 304.45°)
OKLaboklab(32.39% 0.0302 -0.1382)
OKLCHoklch(32.39% 0.141 282.3)
XYZxyz(5.0323, 2.9696, 18.0737)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2078 #6A7820
analogous
#203E78 #2E2078 #5A2078
triadic
#2E2078 #782E20 #20782E
tetradic
#2E2078 #78203E #6A7820 #20785A
square
#2E2078 #78203E #6A7820 #20785A
split-complementary
#2E2078 #785A20 #3E7820
monochromatic
#090618 #1B1348 #2E2078 #412DA8 #5B45CD

Accessibility & contrast

On white

13.17
#2E2078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2E2078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2078
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2078#FFFFFF#000000##FFFFFF
##2E20781.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#002D76
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2078;
/* rgb */ color: rgb(46, 32, 120);
/* oklch */ color: oklch(32.4% 0.141 282.3);
Tailwind
colors: {
  custom: {
    50: '#705da0',
    500: '#2e2078',
    950: '#000000',
  },
}
SCSS
$custom: #2e2078;
$custom-light: #705da0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2078",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 249.545,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32392,
    "c": 0.14149,
    "h": 282.3
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#2E2078
secondary
#9CAB48
accent
#E147C9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040F
muted
#7B797E

Preview Lab

Preview with #2E2078

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

Preview Lab → · Contrast checker → · Palette generator →

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