#2E2D9C#2E2D9C

#2E2D9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.174 H 274.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2E2D9C
RGBrgb(46, 45, 156)
HSLhsl(241, 55%, 39%)
HSVhsv(241, 71%, 61%)
CMYKcmyk(70.5%, 71.2%, 0%, 38.8%)
CIE-LABlab(26.32, 37.27, -59.94)
CIE-LCHlch(26.32, 70.59, 301.87°)
OKLaboklab(38.05% 0.0143 -0.1732)
OKLCHoklch(38.05% 0.174 274.7)
XYZxyz(8.0639, 4.8572, 31.9586)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D9C #9B9C2D
analogous
#2D639C #2E2D9C #662D9C
triadic
#2E2D9C #9C2E2D #2D9C2E
tetradic
#2E2D9C #9C2D63 #9B9C2D #2D9C66
square
#2E2D9C #9C2D63 #9B9C2D #2D9C66
split-complementary
#2E2D9C #9C662D #639C2D
monochromatic
#12123D #201F6D #2E2D9C #403FC8 #6F6ED5

Accessibility & contrast

On white

10.65
#2E2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E2D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D9C
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D9C#FFFFFF#000000##FFFFFF
##2E2D9C1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e2d9c;
/* rgb */ color: rgb(46, 45, 156);
/* oklch */ color: oklch(38.1% 0.174 274.7);
Tailwind
colors: {
  custom: {
    50: '#7767ba',
    500: '#2e2d9c',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d9c;
$custom-light: #7767ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d9c",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 240.541,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38053,
    "c": 0.17383,
    "h": 274.7
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#2E2D9C
secondary
#BCBC68
accent
#DF49DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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