#2E2E6A#2E2E6A

#2E2E6A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.102 H 279.4°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#2E2E6A
RGBrgb(46, 46, 106)
HSLhsl(240, 39%, 30%)
HSVhsv(240, 57%, 42%)
CMYKcmyk(56.6%, 56.6%, 0%, 58.4%)
CIE-LABlab(22.21, 18.87, -35.24)
CIE-LCHlch(22.21, 39.97, 298.16°)
OKLaboklab(33.69% 0.0167 -0.1008)
OKLCHoklch(33.69% 0.102 279.4)
XYZxyz(4.7044, 3.5751, 14.0751)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E6A #6A6A2E
analogous
#2E4C6A #2E2E6A #4C2E6A
triadic
#2E2E6A #6A2E2E #2E6A2E
tetradic
#2E2E6A #6A2E4C #6A6A2E #2E6A4C
square
#2E2E6A #6A2E4C #6A6A2E #2E6A4C
split-complementary
#2E2E6A #6A4C2E #4C6A2E
monochromatic
#090915 #1B1B3F #2E2E6A #414195 #5B5BB8

Accessibility & contrast

On white

12.24
#2E2E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E2E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E6A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E6A#FFFFFF#000000##FFFFFF
##2E2E6A1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B386C
Deuteranopia (green-blind)
#023369
Tritanopia (blue-blind)
#133C47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2e6a;
/* rgb */ color: rgb(46, 46, 106);
/* oklch */ color: oklch(33.7% 0.102 279.4);
Tailwind
colors: {
  custom: {
    50: '#6c6695',
    500: '#2e2e6a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e6a;
$custom-light: #6c6695;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e6a",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 240,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33694,
    "c": 0.10212,
    "h": 279.4
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#2E2E6A
secondary
#9C9C58
accent
#CF58CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E2E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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