#2E2DB2#2E2DB2

#2E2DB2 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.3% C 0.201 H 273.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2E2DB2
RGBrgb(46, 45, 178)
HSLhsl(240, 60%, 44%)
HSVhsv(240, 75%, 70%)
CMYKcmyk(74.2%, 74.7%, 0%, 30.2%)
CIE-LABlab(28.57, 44.72, -69.52)
CIE-LCHlch(28.57, 82.66, 302.75°)
OKLaboklab(40.33% 0.0106 -0.2012)
OKLCHoklch(40.33% 0.201 273)
XYZxyz(10.0983, 5.6709, 42.6732)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DB2 #B1B22D
analogous
#2D6EB2 #2E2DB2 #702DB2
triadic
#2E2DB2 #B22E2D #2DB22E
tetradic
#2E2DB2 #B22D6E #B1B22D #2DB270
square
#2E2DB2 #B22D6E #B1B22D #2DB270
split-complementary
#2E2DB2 #B2702D #6EB22D
monochromatic
#151450 #212181 #2E2DB2 #4C4BD1 #7C7CDE

Accessibility & contrast

On white

9.84
#2E2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E2DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DB2
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DB2#FFFFFF#000000##FFFFFF
##2E2DB21.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e2db2;
/* rgb */ color: rgb(46, 45, 178);
/* oklch */ color: oklch(40.3% 0.201 273.0);
Tailwind
colors: {
  custom: {
    50: '#7c68ca',
    500: '#2e2db2',
    950: '#000000',
  },
}
SCSS
$custom: #2e2db2;
$custom-light: #7c68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2db2",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 240.451,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40325,
    "c": 0.20145,
    "h": 273
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#2E2DB2
secondary
#C6C675
accent
#E345E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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