#2E2E7E#2E2E7E

#2E2E7E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.132 H 277.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2E2E7E
RGBrgb(46, 46, 126)
HSLhsl(240, 47%, 34%)
HSVhsv(240, 63%, 49%)
CMYKcmyk(63.5%, 63.5%, 0%, 50.6%)
CIE-LABlab(23.81, 26.04, -45.45)
CIE-LCHlch(23.81, 52.38, 299.82°)
OKLaboklab(35.38% 0.0167 -0.1308)
OKLCHoklch(35.38% 0.132 277.3)
XYZxyz(5.8684, 4.0407, 20.2053)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E7E #7E7E2E
analogous
#2E567E #2E2E7E #562E7E
triadic
#2E2E7E #7E2E2E #2E7E2E
tetradic
#2E2E7E #7E2E56 #7E7E2E #2E7E56
square
#2E2E7E #7E2E56 #7E7E2E #2E7E56
split-complementary
#2E2E7E #7E562E #567E2E
monochromatic
#0D0D24 #1E1E51 #2E2E7E #3E3EAB #6161C5

Accessibility & contrast

On white

11.61
#2E2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E2E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E7E
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E7E#FFFFFF#000000##FFFFFF
##2E2E7E1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2e7e;
/* rgb */ color: rgb(46, 46, 126);
/* oklch */ color: oklch(35.4% 0.132 277.3);
Tailwind
colors: {
  custom: {
    50: '#7067a4',
    500: '#2e2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e7e;
$custom-light: #7067a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e7e",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 240,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35377,
    "c": 0.13183,
    "h": 277.3
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#2E2E7E
secondary
#ACAC5C
accent
#D652D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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