#2E2D73#2E2D73

#2E2D73 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.117 H 278.9°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#2E2D73
RGBrgb(46, 45, 115)
HSLhsl(241, 44%, 31%)
HSVhsv(241, 61%, 45%)
CMYKcmyk(60%, 60.9%, 0%, 54.9%)
CIE-LABlab(22.64, 22.77, -40.35)
CIE-LCHlch(22.64, 46.33, 299.44°)
OKLaboklab(34.23% 0.0181 -0.1158)
OKLCHoklch(34.23% 0.117 278.9)
XYZxyz(5.1586, 3.6951, 16.6577)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D73 #72732D
analogous
#2D4F73 #2E2D73 #512D73
triadic
#2E2D73 #732E2D #2D732E
tetradic
#2E2D73 #732D4F #72732D #2D7351
square
#2E2D73 #732D4F #72732D #2D7351
split-complementary
#2E2D73 #73512D #4F732D
monochromatic
#0B0B1B #1C1C47 #2E2D73 #403E9F #5D5BBF

Accessibility & contrast

On white

12.08
#2E2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D73
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D73#FFFFFF#000000##FFFFFF
##2E2D731.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#053E4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2d73;
/* rgb */ color: rgb(46, 45, 115);
/* oklch */ color: oklch(34.2% 0.117 278.9);
Tailwind
colors: {
  custom: {
    50: '#6e669c',
    500: '#2e2d73',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d73;
$custom-light: #6e669c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d73",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 240.857,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34229,
    "c": 0.11719,
    "h": 278.9
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#2E2D73
secondary
#A3A457
accent
#D354D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2E2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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