#2E2D63#2E2D63

#2E2D63 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.093 H 280.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#2E2D63
RGBrgb(46, 45, 99)
HSLhsl(241, 38%, 28%)
HSVhsv(241, 55%, 39%)
CMYKcmyk(53.5%, 54.5%, 0%, 61.2%)
CIE-LABlab(21.42, 17.07, -31.95)
CIE-LCHlch(21.42, 36.23, 298.12°)
OKLaboklab(32.94% 0.0175 -0.0911)
OKLCHoklch(32.94% 0.093 280.9)
XYZxyz(4.3165, 3.3582, 12.2227)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D63 #62632D
analogous
#2D4763 #2E2D63 #492D63
triadic
#2E2D63 #632E2D #2D632E
tetradic
#2E2D63 #632D47 #62632D #2D6349
square
#2E2D63 #632D47 #62632D #2D6349
split-complementary
#2E2D63 #63492D #47632D
monochromatic
#0A0A15 #1A1A39 #2E2D63 #42408D #5958B3

Accessibility & contrast

On white

12.56
#2E2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2E2D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D63
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D63#FFFFFF#000000##FFFFFF
##2E2D631.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123565
Deuteranopia (green-blind)
#0D3162
Tritanopia (blue-blind)
#193943
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2d63;
/* rgb */ color: rgb(46, 45, 99);
/* oklch */ color: oklch(32.9% 0.093 280.9);
Tailwind
colors: {
  custom: {
    50: '#6b6590',
    500: '#2e2d63',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d63;
$custom-light: #6b6590;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d63",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 241.111,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3294,
    "c": 0.09275,
    "h": 280.9
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#2E2D63
secondary
#949557
accent
#CD5ACB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2E2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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