#2E2E6F#2E2E6F

#2E2E6F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.110 H 278.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#2E2E6F
RGBrgb(46, 46, 111)
HSLhsl(240, 41%, 31%)
HSVhsv(240, 59%, 44%)
CMYKcmyk(58.6%, 58.6%, 0%, 56.5%)
CIE-LABlab(22.59, 20.65, -37.86)
CIE-LCHlch(22.59, 43.12, 298.62°)
OKLaboklab(34.1% 0.0169 -0.1084)
OKLCHoklch(34.1% 0.11 278.9)
XYZxyz(4.9720, 3.6822, 15.4846)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E6F #6F6F2E
analogous
#2E4E6F #2E2E6F #4E2E6F
triadic
#2E2E6F #6F2E2E #2E6F2E
tetradic
#2E2E6F #6F2E4E #6F6F2E #2E6F4E
square
#2E2E6F #6F2E4E #6F6F2E #2E6F4E
split-complementary
#2E2E6F #6F4E2E #4E6F2E
monochromatic
#0A0A18 #1C1C44 #2E2E6F #40409A #5C5CBB

Accessibility & contrast

On white

12.09
#2E2E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E2E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E6F
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E6F#FFFFFF#000000##FFFFFF
##2E2E6F1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013971
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#0C3D49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2e6f;
/* rgb */ color: rgb(46, 46, 111);
/* oklch */ color: oklch(34.1% 0.110 278.9);
Tailwind
colors: {
  custom: {
    50: '#6d6699',
    500: '#2e2e6f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e6f;
$custom-light: #6d6699;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e6f",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 240,
    "s": 41.401,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34096,
    "c": 0.10976,
    "h": 278.9
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#2E2E6F
secondary
#A0A058
accent
#D157D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E2E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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