#2E2D70#2E2D70

#2E2D70 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 34.0% C 0.113 H 279.2°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#2E2D70
RGBrgb(46, 45, 112)
HSLhsl(241, 43%, 31%)
HSVhsv(241, 60%, 44%)
CMYKcmyk(58.9%, 59.8%, 0%, 56.1%)
CIE-LABlab(22.40, 21.70, -38.81)
CIE-LCHlch(22.40, 44.47, 299.21°)
OKLaboklab(33.98% 0.0181 -0.1113)
OKLCHoklch(33.98% 0.113 279.2)
XYZxyz(4.9888, 3.6271, 15.7633)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D70 #6F702D
analogous
#2D4D70 #2E2D70 #4F2D70
triadic
#2E2D70 #702E2D #2D702E
tetradic
#2E2D70 #702D4D #6F702D #2D704F
square
#2E2D70 #702D4D #6F702D #2D704F
split-complementary
#2E2D70 #704F2D #4D702D
monochromatic
#0A0A19 #1C1B44 #2E2D70 #403F9C #5C5ABD

Accessibility & contrast

On white

12.17
#2E2D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2E2D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D70
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D70#FFFFFF#000000##FFFFFF
##2E2D701.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#0B3D49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2d70;
/* rgb */ color: rgb(46, 45, 112);
/* oklch */ color: oklch(34.0% 0.113 279.2);
Tailwind
colors: {
  custom: {
    50: '#6d669a',
    500: '#2e2d70',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d70;
$custom-light: #6d669a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d70",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 240.896,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33977,
    "c": 0.11273,
    "h": 279.2
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#2E2D70
secondary
#A0A257
accent
#D255D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2E2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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