#2E2B6F#2E2B6F

#2E2B6F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.114 H 280.3°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2E2B6F
RGBrgb(46, 43, 111)
HSLhsl(243, 44%, 30%)
HSVhsv(243, 61%, 44%)
CMYKcmyk(58.6%, 61.3%, 0%, 56.5%)
CIE-LABlab(21.78, 22.70, -39.16)
CIE-LCHlch(21.78, 45.27, 300.10°)
OKLaboklab(33.5% 0.0203 -0.1123)
OKLCHoklch(33.5% 0.114 280.3)
XYZxyz(4.8589, 3.4560, 15.4469)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B6F #6C6F2B
analogous
#2B4A6F #2E2B6F #502B6F
triadic
#2E2B6F #6F2E2B #2B6F2E
tetradic
#2E2B6F #6F2B4A #6C6F2B #2B6F50
square
#2E2B6F #6F2B4A #6C6F2B #2B6F50
split-complementary
#2E2B6F #6F502B #4A6F2B
monochromatic
#090917 #1C1A43 #2E2B6F #403C9B #5B57BE

Accessibility & contrast

On white

12.42
#2E2B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2B6F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B6F#FFFFFF#000000##FFFFFF
##2E2B6F1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#0D3B48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2b6f;
/* rgb */ color: rgb(46, 43, 111);
/* oklch */ color: oklch(33.5% 0.114 280.3);
Tailwind
colors: {
  custom: {
    50: '#6d6499',
    500: '#2e2b6f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b6f;
$custom-light: #6d6499;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b6f",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 111
  },
  "hsl": {
    "h": 242.647,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33498,
    "c": 0.11413,
    "h": 280.3
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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