#2E2C90#2E2C90

#2E2C90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.159 H 276.0°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2E2C90
RGBrgb(46, 44, 144)
HSLhsl(241, 53%, 37%)
HSVhsv(241, 69%, 56%)
CMYKcmyk(68.1%, 69.4%, 0%, 43.5%)
CIE-LABlab(24.94, 33.73, -54.85)
CIE-LCHlch(24.94, 64.39, 301.59°)
OKLaboklab(36.7% 0.0167 -0.1583)
OKLCHoklch(36.7% 0.159 276)
XYZxyz(7.0598, 4.3952, 26.8565)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C90 #8E902C
analogous
#2C5C90 #2E2C90 #602C90
triadic
#2E2C90 #902E2C #2C902E
tetradic
#2E2C90 #902C5C #8E902C #2C9060
square
#2E2C90 #902C5C #8E902C #2C9060
split-complementary
#2E2C90 #90602C #5C902C
monochromatic
#100F32 #1F1E61 #2E2C90 #3D3ABF #6866D0

Accessibility & contrast

On white

11.17
#2E2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C90
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C90#FFFFFF#000000##FFFFFF
##2E2C901.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2c90;
/* rgb */ color: rgb(46, 44, 144);
/* oklch */ color: oklch(36.7% 0.159 276.0);
Tailwind
colors: {
  custom: {
    50: '#7466b1',
    500: '#2e2c90',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c90;
$custom-light: #7466b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c90",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 241.2,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36701,
    "c": 0.15922,
    "h": 276
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

primary
#2E2C90
secondary
#B5B761
accent
#DD4BDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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