#2E2094#2E2094

#2E2094 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.177 H 277.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#2E2094
RGBrgb(46, 32, 148)
HSLhsl(247, 64%, 35%)
HSVhsv(247, 78%, 58%)
CMYKcmyk(68.9%, 78.4%, 0%, 42%)
CIE-LABlab(22.83, 42.07, -60.78)
CIE-LCHlch(22.83, 73.92, 304.69°)
OKLaboklab(35.33% 0.0237 -0.1756)
OKLCHoklch(35.33% 0.177 277.7)
XYZxyz(6.9868, 3.7514, 28.3671)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2094 #869420
analogous
#204C94 #2E2094 #682094
triadic
#2E2094 #942E20 #20942E
tetradic
#2E2094 #94204C #869420 #209468
square
#2E2094 #94204C #869420 #209468
split-complementary
#2E2094 #946820 #4C9420
monochromatic
#0F0A2F #1E1562 #2E2094 #3E2BC6 #6454DA

Accessibility & contrast

On white

12.00
#2E2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2094
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2094#FFFFFF#000000##FFFFFF
##2E20941.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2094;
/* rgb */ color: rgb(46, 32, 148);
/* oklch */ color: oklch(35.3% 0.177 277.7);
Tailwind
colors: {
  custom: {
    50: '#765eb5',
    500: '#2e2094',
    950: '#000000',
  },
}
SCSS
$custom: #2e2094;
$custom-light: #765eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2094",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 247.241,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35325,
    "c": 0.17721,
    "h": 277.7
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#2E2094
secondary
#B1BE52
accent
#E740D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2094

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

Preview Lab → · Contrast checker → · Palette generator →

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