#2E2085#2E2085

#2E2085 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.158 H 280.0°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#2E2085
RGBrgb(46, 32, 133)
HSLhsl(248, 61%, 32%)
HSVhsv(248, 76%, 52%)
CMYKcmyk(65.4%, 75.9%, 0%, 47.8%)
CIE-LABlab(21.23, 37.21, -54.07)
CIE-LCHlch(21.23, 65.64, 304.54°)
OKLaboklab(33.72% 0.0274 -0.156)
OKLCHoklch(33.72% 0.158 280)
XYZxyz(5.8755, 3.3069, 22.5144)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2085 #778520
analogous
#204485 #2E2085 #612085
triadic
#2E2085 #852E20 #20852E
tetradic
#2E2085 #852044 #778520 #208561
square
#2E2085 #852044 #778520 #208561
split-complementary
#2E2085 #856120 #448520
monochromatic
#0C0822 #1D1454 #2E2085 #3F2CB6 #5E4CD4

Accessibility & contrast

On white

12.64
#2E2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2E2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2085
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2085#FFFFFF#000000##FFFFFF
##2E20851.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2085;
/* rgb */ color: rgb(46, 32, 133);
/* oklch */ color: oklch(33.7% 0.158 280.0);
Tailwind
colors: {
  custom: {
    50: '#735daa',
    500: '#2e2085',
    950: '#000000',
  },
}
SCSS
$custom: #2e2085;
$custom-light: #735daa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2085",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 248.317,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33722,
    "c": 0.15842,
    "h": 280
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

primary
#2E2085
secondary
#A8B74A
accent
#E443CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2085

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

Preview Lab → · Contrast checker → · Palette generator →

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