#2E2B56#2E2B56

#2E2B56 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.075 H 284.4°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#2E2B56
RGBrgb(46, 43, 86)
HSLhsl(244, 33%, 25%)
HSVhsv(244, 50%, 34%)
CMYKcmyk(46.5%, 50%, 0%, 66.3%)
CIE-LABlab(19.96, 13.97, -25.70)
CIE-LCHlch(19.96, 29.26, 298.53°)
OKLaboklab(31.56% 0.0187 -0.0728)
OKLCHoklch(31.56% 0.075 284.4)
XYZxyz(3.6698, 2.9803, 9.1842)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B56 #53562B
analogous
#2B3D56 #2E2B56 #432B56
triadic
#2E2B56 #562E2B #2B562E
tetradic
#2E2B56 #562B3D #53562B #2B5643
square
#2E2B56 #562B3D #53562B #2B5643
split-complementary
#2E2B56 #56432B #3D562B
monochromatic
#0B0A14 #18172D #2E2B56 #443F7F #5A54A8

Accessibility & contrast

On white

13.16
#2E2B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E2B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B56
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B56#FFFFFF#000000##FFFFFF
##2E2B561.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3258
Deuteranopia (green-blind)
#192F55
Tritanopia (blue-blind)
#22343C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2b56;
/* rgb */ color: rgb(46, 43, 86);
/* oklch */ color: oklch(31.6% 0.075 284.4);
Tailwind
colors: {
  custom: {
    50: '#696486',
    500: '#2e2b56',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b56;
$custom-light: #696486;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b56",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 244.186,
    "s": 33.333,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31556,
    "c": 0.07512,
    "h": 284.4
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#2E2B56
secondary
#858855
accent
#C95EC2
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #2E2B56

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

Preview Lab → · Contrast checker → · Palette generator →

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