#2E2B6E#2E2B6E

#2E2B6E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.4% C 0.113 H 280.4°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#2E2B6E
RGBrgb(46, 43, 110)
HSLhsl(243, 44%, 30%)
HSVhsv(243, 61%, 43%)
CMYKcmyk(58.2%, 60.9%, 0%, 56.9%)
CIE-LABlab(21.70, 22.35, -38.65)
CIE-LCHlch(21.70, 44.64, 300.04°)
OKLaboklab(33.41% 0.0203 -0.1108)
OKLCHoklch(33.41% 0.113 280.4)
XYZxyz(4.8042, 3.4341, 15.1585)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B6E #6B6E2B
analogous
#2B496E #2E2B6E #502B6E
triadic
#2E2B6E #6E2E2B #2B6E2E
tetradic
#2E2B6E #6E2B49 #6B6E2B #2B6E50
square
#2E2B6E #6E2B49 #6B6E2B #2B6E50
split-complementary
#2E2B6E #6E502B #496E2B
monochromatic
#090916 #1C1A42 #2E2B6E #403C9A #5B56BD

Accessibility & contrast

On white

12.45
#2E2B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E2B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B6E
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B6E#FFFFFF#000000##FFFFFF
##2E2B6E1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#0E3B48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2b6e;
/* rgb */ color: rgb(46, 43, 110);
/* oklch */ color: oklch(33.4% 0.113 280.4);
Tailwind
colors: {
  custom: {
    50: '#6d6498',
    500: '#2e2b6e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b6e;
$custom-light: #6d6498;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b6e",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 242.687,
    "s": 43.791,
    "l": 30
  },
  "oklch": {
    "l": 0.33413,
    "c": 0.11265,
    "h": 280.4
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#2E2B6E
secondary
#9DA055
accent
#D454CE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2E2B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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