#2E2C82#2E2C82

#2E2C82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.140 H 277.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2E2C82
RGBrgb(46, 44, 130)
HSLhsl(241, 49%, 34%)
HSVhsv(241, 66%, 51%)
CMYKcmyk(64.6%, 66.2%, 0%, 49%)
CIE-LABlab(23.65, 28.79, -48.22)
CIE-LCHlch(23.65, 56.16, 300.84°)
OKLaboklab(35.37% 0.0183 -0.1389)
OKLCHoklch(35.37% 0.14 277.5)
XYZxyz(6.0554, 3.9934, 21.5665)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C82 #80822C
analogous
#2C5582 #2E2C82 #592C82
triadic
#2E2C82 #822E2C #2C822E
tetradic
#2E2C82 #822C55 #80822C #2C8259
square
#2E2C82 #822C55 #80822C #2C8259
split-complementary
#2E2C82 #82592C #55822C
monochromatic
#0E0D27 #1E1D54 #2E2C82 #3E3BB0 #625FC9

Accessibility & contrast

On white

11.67
#2E2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E2C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C82
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C82#FFFFFF#000000##FFFFFF
##2E2C821.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2c82;
/* rgb */ color: rgb(46, 44, 130);
/* oklch */ color: oklch(35.4% 0.140 277.5);
Tailwind
colors: {
  custom: {
    50: '#7165a7',
    500: '#2e2c82',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c82;
$custom-light: #7165a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c82",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 241.395,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35371,
    "c": 0.14013,
    "h": 277.5
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#2E2C82
secondary
#ADAF5B
accent
#D94FD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2E2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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