#2E2A73#2E2A73

#2E2A73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.121 H 280.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#2E2A73
RGBrgb(46, 42, 115)
HSLhsl(243, 46%, 31%)
HSVhsv(243, 63%, 45%)
CMYKcmyk(60%, 63.5%, 0%, 54.9%)
CIE-LABlab(21.85, 24.80, -41.63)
CIE-LCHlch(21.85, 48.45, 300.78°)
OKLaboklab(33.65% 0.0213 -0.1196)
OKLCHoklch(33.65% 0.121 280.1)
XYZxyz(5.0482, 3.4742, 16.6209)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A73 #6F732A
analogous
#2A4A73 #2E2A73 #522A73
triadic
#2E2A73 #732E2A #2A732E
tetradic
#2E2A73 #732A4A #6F732A #2A7352
square
#2E2A73 #732A4A #6F732A #2A7352
split-complementary
#2E2A73 #73522A #4A732A
monochromatic
#0A0919 #1C1A46 #2E2A73 #403AA0 #5C56C1

Accessibility & contrast

On white

12.39
#2E2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A73
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A73#FFFFFF#000000##FFFFFF
##2E2A731.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2a73;
/* rgb */ color: rgb(46, 42, 115);
/* oklch */ color: oklch(33.7% 0.121 280.1);
Tailwind
colors: {
  custom: {
    50: '#6e649c',
    500: '#2e2a73',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a73;
$custom-light: #6e649c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a73",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 243.288,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3365,
    "c": 0.12145,
    "h": 280.1
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#2E2A73
secondary
#A0A554
accent
#D652CF
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2E2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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