#2E2D74#2E2D74

#2E2D74 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.3% C 0.119 H 278.7°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#2E2D74
RGBrgb(46, 45, 116)
HSLhsl(241, 44%, 32%)
HSVhsv(241, 61%, 45%)
CMYKcmyk(60.3%, 61.2%, 0%, 54.5%)
CIE-LABlab(22.72, 23.13, -40.86)
CIE-LCHlch(22.72, 46.95, 299.51°)
OKLaboklab(34.31% 0.018 -0.1173)
OKLCHoklch(34.31% 0.119 278.7)
XYZxyz(5.2165, 3.7182, 16.9624)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D74 #73742D
analogous
#2D5074 #2E2D74 #522D74
triadic
#2E2D74 #742E2D #2D742E
tetradic
#2E2D74 #742D50 #73742D #2D7452
square
#2E2D74 #742D50 #73742D #2D7452
split-complementary
#2E2D74 #74522D #50742D
monochromatic
#0B0B1C #1D1C48 #2E2D74 #3F3EA0 #5D5CC0

Accessibility & contrast

On white

12.04
#2E2D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2D74
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D74#FFFFFF#000000##FFFFFF
##2E2D741.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#043E4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2d74;
/* rgb */ color: rgb(46, 45, 116);
/* oklch */ color: oklch(34.3% 0.119 278.7);
Tailwind
colors: {
  custom: {
    50: '#6e669d',
    500: '#2e2d74',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d74;
$custom-light: #6e669d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d74",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 240.845,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34314,
    "c": 0.11867,
    "h": 278.7
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#2E2D74
secondary
#A4A557
accent
#D454D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2E2D74

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

Preview Lab → · Contrast checker → · Palette generator →

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