#2E2B66#2E2B66

#2E2B66 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.101 H 281.6°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2E2B66
RGBrgb(46, 43, 102)
HSLhsl(243, 41%, 28%)
HSVhsv(243, 58%, 40%)
CMYKcmyk(54.9%, 57.8%, 0%, 60%)
CIE-LABlab(21.09, 19.52, -34.46)
CIE-LCHlch(21.09, 39.60, 299.53°)
OKLaboklab(32.76% 0.0202 -0.0985)
OKLCHoklch(32.76% 0.101 281.6)
XYZxyz(4.3881, 3.2677, 12.9673)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B66 #63662B
analogous
#2B4566 #2E2B66 #4B2B66
triadic
#2E2B66 #662E2B #2B662E
tetradic
#2E2B66 #662B45 #63662B #2B664B
square
#2E2B66 #662B45 #63662B #2B664B
split-complementary
#2E2B66 #664B2B #45662B
monochromatic
#0A0916 #1B193B #2E2B66 #413D91 #5954B7

Accessibility & contrast

On white

12.70
#2E2B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2E2B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B66
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B66#FFFFFF#000000##FFFFFF
##2E2B661.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083568
Deuteranopia (green-blind)
#023165
Tritanopia (blue-blind)
#173844
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2b66;
/* rgb */ color: rgb(46, 43, 102);
/* oklch */ color: oklch(32.8% 0.101 281.6);
Tailwind
colors: {
  custom: {
    50: '#6c6492',
    500: '#2e2b66',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b66;
$custom-light: #6c6492;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b66",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 243.051,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32757,
    "c": 0.10052,
    "h": 281.6
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#2E2B66
secondary
#959855
accent
#D157CA
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2E2B66

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

Preview Lab → · Contrast checker → · Palette generator →

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