#2E2B74#2E2B74

#2E2B74 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.121 H 279.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#2E2B74
RGBrgb(46, 43, 116)
HSLhsl(242, 46%, 31%)
HSVhsv(242, 63%, 45%)
CMYKcmyk(60.3%, 62.9%, 0%, 54.5%)
CIE-LABlab(22.19, 24.48, -41.71)
CIE-LCHlch(22.19, 48.37, 300.41°)
OKLaboklab(33.93% 0.0202 -0.1198)
OKLCHoklch(33.93% 0.122 279.6)
XYZxyz(5.1420, 3.5692, 16.9376)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B74 #71742B
analogous
#2B4C74 #2E2B74 #522B74
triadic
#2E2B74 #742E2B #2B742E
tetradic
#2E2B74 #742B4C #71742B #2B7452
square
#2E2B74 #742B4C #71742B #2B7452
split-complementary
#2E2B74 #74522B #4C742B
monochromatic
#0B0A1B #1C1A47 #2E2B74 #403CA1 #5D58C1

Accessibility & contrast

On white

12.25
#2E2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2B74
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B74#FFFFFF#000000##FFFFFF
##2E2B741.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#043D4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2b74;
/* rgb */ color: rgb(46, 43, 116);
/* oklch */ color: oklch(33.9% 0.121 279.6);
Tailwind
colors: {
  custom: {
    50: '#6e649d',
    500: '#2e2b74',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b74;
$custom-light: #6e649d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b74",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 242.466,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33927,
    "c": 0.1215,
    "h": 279.6
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#2E2B74
secondary
#A2A655
accent
#D652D0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2E2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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