#2E2175#2E2175

#2E2175 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.136 H 282.7°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#2E2175
RGBrgb(46, 33, 117)
HSLhsl(249, 56%, 29%)
HSVhsv(249, 72%, 46%)
CMYKcmyk(60.7%, 71.8%, 0%, 54.1%)
CIE-LABlab(19.85, 31.30, -46.17)
CIE-LCHlch(19.85, 55.78, 304.14°)
OKLaboklab(32.25% 0.0299 -0.1329)
OKLCHoklch(32.25% 0.136 282.7)
XYZxyz(4.8805, 2.9526, 17.1389)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2175 #687521
analogous
#213E75 #2E2175 #582175
triadic
#2E2175 #752E21 #21752E
tetradic
#2E2175 #75213E #687521 #217558
square
#2E2175 #75213E #687521 #217558
split-complementary
#2E2175 #755821 #3E7521
monochromatic
#090718 #1B1445 #2E2175 #412EA5 #5A46CB

Accessibility & contrast

On white

13.20
#2E2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2E2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2175
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2175#FFFFFF#000000##FFFFFF
##2E21751.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#043748
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2175;
/* rgb */ color: rgb(46, 33, 117);
/* oklch */ color: oklch(32.3% 0.136 282.7);
Tailwind
colors: {
  custom: {
    50: '#705d9e',
    500: '#2e2175',
    950: '#000000',
  },
}
SCSS
$custom: #2e2175;
$custom-light: #705d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2175",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 249.286,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32254,
    "c": 0.13625,
    "h": 282.7
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#2E2175
secondary
#9AA84A
accent
#DF49C8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2175

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

Preview Lab → · Contrast checker → · Palette generator →

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