#2E2B86#2E2B86

#2E2B86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.147 H 277.3°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2E2B86
RGBrgb(46, 43, 134)
HSLhsl(242, 51%, 35%)
HSVhsv(242, 68%, 53%)
CMYKcmyk(65.7%, 67.9%, 0%, 47.5%)
CIE-LABlab(23.77, 30.85, -50.54)
CIE-LCHlch(23.77, 59.21, 301.40°)
OKLaboklab(35.57% 0.0187 -0.1457)
OKLCHoklch(35.57% 0.147 277.3)
XYZxyz(6.2923, 4.0293, 22.9958)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B86 #83862B
analogous
#2B5686 #2E2B86 #5C2B86
triadic
#2E2B86 #862E2B #2B862E
tetradic
#2E2B86 #862B56 #83862B #2B865C
square
#2E2B86 #862B56 #83862B #2B865C
split-complementary
#2E2B86 #865C2B #56862B
monochromatic
#0E0D29 #1E1C58 #2E2B86 #3E3AB4 #6360CC

Accessibility & contrast

On white

11.63
#2E2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B86
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B86#FFFFFF#000000##FFFFFF
##2E2B861.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2b86;
/* rgb */ color: rgb(46, 43, 134);
/* oklch */ color: oklch(35.6% 0.147 277.3);
Tailwind
colors: {
  custom: {
    50: '#7265aa',
    500: '#2e2b86',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b86;
$custom-light: #7265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b86",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 241.978,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35568,
    "c": 0.14692,
    "h": 277.3
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#2E2B86
secondary
#AFB25B
accent
#DB4DD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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