#2E2685#2E2685

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

Color values

HEX#2E2685
RGBrgb(46, 38, 133)
HSLhsl(245, 56%, 34%)
HSVhsv(245, 71%, 52%)
CMYKcmyk(65.4%, 71.4%, 0%, 47.8%)
CIE-LABlab(22.51, 33.65, -51.97)
CIE-LCHlch(22.51, 61.91, 302.93°)
OKLaboklab(34.64% 0.0229 -0.1499)
OKLCHoklch(34.64% 0.152 278.7)
XYZxyz(6.0521, 3.6600, 22.5733)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2685 #7D8526
analogous
#264D85 #2E2685 #5D2685
triadic
#2E2685 #852E26 #26852E
tetradic
#2E2685 #85264D #7D8526 #26855D
square
#2E2685 #85264D #7D8526 #26855D
split-complementary
#2E2685 #855D26 #4D8526
monochromatic
#0D0B26 #1E1855 #2E2685 #3E34B5 #6157CF

Accessibility & contrast

On white

12.12
#2E2685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2685
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2685#FFFFFF#000000##FFFFFF
##2E26851.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2685;
/* rgb */ color: rgb(46, 38, 133);
/* oklch */ color: oklch(34.6% 0.152 278.7);
Tailwind
colors: {
  custom: {
    50: '#7261a9',
    500: '#2e2685',
    950: '#000000',
  },
}
SCSS
$custom: #2e2685;
$custom-light: #7261a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2685",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 245.053,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34635,
    "c": 0.15165,
    "h": 278.7
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#2E2685
secondary
#ABB353
accent
#DF49D2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2685

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

Preview Lab → · Contrast checker → · Palette generator →

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