#2E2DBA#2E2DBA

#2E2DBA is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.211 H 272.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2E2DBA
RGBrgb(46, 45, 186)
HSLhsl(240, 61%, 45%)
HSVhsv(240, 76%, 73%)
CMYKcmyk(75.3%, 75.8%, 0%, 27.1%)
CIE-LABlab(29.42, 47.35, -72.88)
CIE-LCHlch(29.42, 86.91, 303.01°)
OKLaboklab(41.18% 0.0091 -0.2109)
OKLCHoklch(41.18% 0.211 272.5)
XYZxyz(10.9250, 6.0016, 47.0275)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DBA #B9BA2D
analogous
#2D72BA #2E2DBA #752DBA
triadic
#2E2DBA #BA2E2D #2DBA2E
tetradic
#2E2DBA #BA2D72 #B9BA2D #2DBA75
square
#2E2DBA #BA2D72 #B9BA2D #2DBA75
split-complementary
#2E2DBA #BA752D #72BA2D
monochromatic
#161557 #222189 #2E2DBA #5150D5 #8281E0

Accessibility & contrast

On white

9.54
#2E2DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2E2DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DBA
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DBA#FFFFFF#000000##FFFFFF
##2E2DBA1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#003EB8
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e2dba;
/* rgb */ color: rgb(46, 45, 186);
/* oklch */ color: oklch(41.2% 0.211 272.5);
Tailwind
colors: {
  custom: {
    50: '#7e68d0',
    500: '#2e2dba',
    950: '#000000',
  },
}
SCSS
$custom: #2e2dba;
$custom-light: #7e68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2dba",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 240.426,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41179,
    "c": 0.21111,
    "h": 272.5
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#2E2DBA
secondary
#C9C979
accent
#E444E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2E2DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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