#2E2B73#2E2B73

#2E2B73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.120 H 279.7°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2E2B73
RGBrgb(46, 43, 115)
HSLhsl(243, 46%, 31%)
HSVhsv(243, 63%, 45%)
CMYKcmyk(60%, 62.6%, 0%, 54.9%)
CIE-LABlab(22.11, 24.12, -41.21)
CIE-LCHlch(22.11, 47.75, 300.35°)
OKLaboklab(33.84% 0.0202 -0.1183)
OKLCHoklch(33.84% 0.12 279.7)
XYZxyz(5.0841, 3.5461, 16.6329)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B73 #70732B
analogous
#2B4C73 #2E2B73 #522B73
triadic
#2E2B73 #732E2B #2B732E
tetradic
#2E2B73 #732B4C #70732B #2B7352
square
#2E2B73 #732B4C #70732B #2B7352
split-complementary
#2E2B73 #73522B #4C732B
monochromatic
#0A0A1A #1C1A46 #2E2B73 #403CA0 #5C58C1

Accessibility & contrast

On white

12.29
#2E2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2E2B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B73
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B73#FFFFFF#000000##FFFFFF
##2E2B731.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#063C4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2b73;
/* rgb */ color: rgb(46, 43, 115);
/* oklch */ color: oklch(33.8% 0.120 279.7);
Tailwind
colors: {
  custom: {
    50: '#6e649c',
    500: '#2e2b73',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b73;
$custom-light: #6e649c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b73",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 242.5,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3384,
    "c": 0.12003,
    "h": 279.7
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#2E2B73
secondary
#A1A555
accent
#D553D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2E2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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