#2E2B8E#2E2B8E

#2E2B8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.158 H 276.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2E2B8E
RGBrgb(46, 43, 142)
HSLhsl(242, 54%, 36%)
HSVhsv(242, 70%, 56%)
CMYKcmyk(67.6%, 69.7%, 0%, 44.3%)
CIE-LABlab(24.52, 33.65, -54.30)
CIE-LCHlch(24.52, 63.88, 301.79°)
OKLaboklab(36.34% 0.0177 -0.1567)
OKLCHoklch(36.34% 0.158 276.5)
XYZxyz(6.8715, 4.2610, 26.0463)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B8E #8B8E2B
analogous
#2B5A8E #2E2B8E #602B8E
triadic
#2E2B8E #8E2E2B #2B8E2E
tetradic
#2E2B8E #8E2B5A #8B8E2B #2B8E60
square
#2E2B8E #8E2B5A #8B8E2B #2B8E60
split-complementary
#2E2B8E #8E602B #5A8E2B
monochromatic
#100F30 #1F1D5F #2E2B8E #3D39BD #6763D0

Accessibility & contrast

On white

11.34
#2E2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E2B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B8E
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B8E#FFFFFF#000000##FFFFFF
##2E2B8E1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2b8e;
/* rgb */ color: rgb(46, 43, 142);
/* oklch */ color: oklch(36.3% 0.158 276.5);
Tailwind
colors: {
  custom: {
    50: '#7465b0',
    500: '#2e2b8e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b8e;
$custom-light: #7465b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b8e",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 241.818,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36339,
    "c": 0.15774,
    "h": 276.5
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#2E2B8E
secondary
#B3B65F
accent
#DD4BD8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2E2B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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