#2E2783#2E2783

#2E2783 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.148 H 278.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2E2783
RGBrgb(46, 39, 131)
HSLhsl(245, 54%, 33%)
HSVhsv(245, 70%, 51%)
CMYKcmyk(64.9%, 70.2%, 0%, 48.6%)
CIE-LABlab(22.55, 32.34, -50.65)
CIE-LCHlch(22.55, 60.10, 302.56°)
OKLaboklab(34.6% 0.0225 -0.1461)
OKLCHoklch(34.6% 0.148 278.7)
XYZxyz(5.9477, 3.6701, 21.8633)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2783 #7C8327
analogous
#274E83 #2E2783 #5C2783
triadic
#2E2783 #832E27 #27832E
tetradic
#2E2783 #83274E #7C8327 #27835C
square
#2E2783 #83274E #7C8327 #27835C
split-complementary
#2E2783 #835C27 #4E8327
monochromatic
#0D0B25 #1D1954 #2E2783 #3F35B2 #6057CD

Accessibility & contrast

On white

12.11
#2E2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2E2783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2783
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2783#FFFFFF#000000##FFFFFF
##2E27831.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2783;
/* rgb */ color: rgb(46, 39, 131);
/* oklch */ color: oklch(34.6% 0.148 278.7);
Tailwind
colors: {
  custom: {
    50: '#7262a8',
    500: '#2e2783',
    950: '#000000',
  },
}
SCSS
$custom: #2e2783;
$custom-light: #7262a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2783",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 244.565,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34601,
    "c": 0.14778,
    "h": 278.7
  },
  "luminance": 0.03671
}

Semantic roles & 50–950 ramp

primary
#2E2783
secondary
#ABB254
accent
#DD4AD2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2783

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

Preview Lab → · Contrast checker → · Palette generator →

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