#2E2B83#2E2B83

#2E2B83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.143 H 277.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2E2B83
RGBrgb(46, 43, 131)
HSLhsl(242, 51%, 34%)
HSVhsv(242, 67%, 51%)
CMYKcmyk(64.9%, 67.2%, 0%, 48.6%)
CIE-LABlab(23.49, 29.80, -49.10)
CIE-LCHlch(23.49, 57.44, 301.25°)
OKLaboklab(35.29% 0.0191 -0.1415)
OKLCHoklch(35.29% 0.143 277.7)
XYZxyz(6.0860, 3.9468, 21.9094)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B83 #80832B
analogous
#2B5483 #2E2B83 #5A2B83
triadic
#2E2B83 #832E2B #2B832E
tetradic
#2E2B83 #832B54 #80832B #2B835A
square
#2E2B83 #832B54 #80832B #2B835A
split-complementary
#2E2B83 #835A2B #54832B
monochromatic
#0E0D27 #1E1C55 #2E2B83 #3E3AB1 #625ECA

Accessibility & contrast

On white

11.74
#2E2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B83
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B83#FFFFFF#000000##FFFFFF
##2E2B831.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2b83;
/* rgb */ color: rgb(46, 43, 131);
/* oklch */ color: oklch(35.3% 0.143 277.7);
Tailwind
colors: {
  custom: {
    50: '#7265a8',
    500: '#2e2b83',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b83;
$custom-light: #7265a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b83",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 242.045,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35286,
    "c": 0.1428,
    "h": 277.7
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#2E2B83
secondary
#ADB05A
accent
#DA4ED5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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