#2E2C94#2E2C94

#2E2C94 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.165 H 275.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2E2C94
RGBrgb(46, 44, 148)
HSLhsl(241, 54%, 38%)
HSVhsv(241, 70%, 58%)
CMYKcmyk(68.9%, 70.3%, 0%, 42%)
CIE-LABlab(25.32, 35.12, -56.69)
CIE-LCHlch(25.32, 66.68, 301.78°)
OKLaboklab(37.09% 0.0162 -0.1637)
OKLCHoklch(37.09% 0.165 275.6)
XYZxyz(7.3709, 4.5197, 28.4952)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C94 #92942C
analogous
#2C5E94 #2E2C94 #622C94
triadic
#2E2C94 #942E2C #2C942E
tetradic
#2E2C94 #942C5E #92942C #2C9462
square
#2E2C94 #942C5E #92942C #2C9462
split-complementary
#2E2C94 #94622C #5E942C
monochromatic
#111036 #1F1E65 #2E2C94 #3D3AC3 #6A68D2

Accessibility & contrast

On white

11.03
#2E2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E2C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C94
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C94#FFFFFF#000000##FFFFFF
##2E2C941.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2c94;
/* rgb */ color: rgb(46, 44, 148);
/* oklch */ color: oklch(37.1% 0.165 275.6);
Tailwind
colors: {
  custom: {
    50: '#7566b4',
    500: '#2e2c94',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c94;
$custom-light: #7566b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c94",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 241.154,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37094,
    "c": 0.16452,
    "h": 275.6
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#2E2C94
secondary
#B7B963
accent
#DE4ADB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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