#2E2E8E#2E2E8E

#2E2E8E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.154 H 275.7°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2E2E8E
RGBrgb(46, 46, 142)
HSLhsl(240, 51%, 37%)
HSVhsv(240, 68%, 56%)
CMYKcmyk(67.6%, 67.6%, 0%, 44.3%)
CIE-LABlab(25.22, 31.75, -53.14)
CIE-LCHlch(25.22, 61.91, 300.86°)
OKLaboklab(36.85% 0.0154 -0.1533)
OKLCHoklch(36.85% 0.154 275.7)
XYZxyz(6.9846, 4.4872, 26.0840)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E8E #8E8E2E
analogous
#2E5E8E #2E2E8E #5E2E8E
triadic
#2E2E8E #8E2E2E #2E8E2E
tetradic
#2E2E8E #8E2E5E #8E8E2E #2E8E5E
square
#2E2E8E #8E2E5E #8E8E2E #2E8E5E
split-complementary
#2E2E8E #8E5E2E #5E8E2E
monochromatic
#101032 #1F1F60 #2E2E8E #3D3DBC #6868CE

Accessibility & contrast

On white

11.07
#2E2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E2E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E8E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E8E#FFFFFF#000000##FFFFFF
##2E2E8E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2e8e;
/* rgb */ color: rgb(46, 46, 142);
/* oklch */ color: oklch(36.8% 0.154 275.7);
Tailwind
colors: {
  custom: {
    50: '#7467b0',
    500: '#2e2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e8e;
$custom-light: #7467b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e8e",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36849,
    "c": 0.15412,
    "h": 275.7
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#2E2E8E
secondary
#B5B563
accent
#DB4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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