#2E2E73#2E2E73

#2E2E73 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.116 H 278.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#2E2E73
RGBrgb(46, 46, 115)
HSLhsl(240, 43%, 32%)
HSVhsv(240, 60%, 45%)
CMYKcmyk(60%, 60%, 0%, 54.9%)
CIE-LABlab(22.90, 22.09, -39.92)
CIE-LCHlch(22.90, 45.62, 298.96°)
OKLaboklab(34.43% 0.017 -0.1145)
OKLCHoklch(34.43% 0.116 278.4)
XYZxyz(5.1972, 3.7723, 16.6706)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E73 #73732E
analogous
#2E5173 #2E2E73 #512E73
triadic
#2E2E73 #732E2E #2E732E
tetradic
#2E2E73 #732E51 #73732E #2E7351
square
#2E2E73 #732E51 #73732E #2E7351
split-complementary
#2E2E73 #73512E #51732E
monochromatic
#0B0B1C #1D1D47 #2E2E73 #3F3F9F #5D5DBE

Accessibility & contrast

On white

11.97
#2E2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2E2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E73
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E73#FFFFFF#000000##FFFFFF
##2E2E731.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#053E4B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2e73;
/* rgb */ color: rgb(46, 46, 115);
/* oklch */ color: oklch(34.4% 0.116 278.4);
Tailwind
colors: {
  custom: {
    50: '#6e669c',
    500: '#2e2e73',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e73;
$custom-light: #6e669c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e73",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 240,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34427,
    "c": 0.11576,
    "h": 278.4
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#2E2E73
secondary
#A4A458
accent
#D355D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2E2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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