#2E2885#2E2885

#2E2885 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.149 H 278.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#2E2885
RGBrgb(46, 40, 133)
HSLhsl(244, 54%, 34%)
HSVhsv(244, 70%, 52%)
CMYKcmyk(65.4%, 69.9%, 0%, 47.8%)
CIE-LABlab(22.97, 32.41, -51.22)
CIE-LCHlch(22.97, 60.61, 302.32°)
OKLaboklab(34.96% 0.0213 -0.1477)
OKLCHoklch(34.96% 0.149 278.2)
XYZxyz(6.1178, 3.7914, 22.5952)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2885 #7F8528
analogous
#285185 #2E2885 #5D2885
triadic
#2E2885 #852E28 #28852E
tetradic
#2E2885 #852851 #7F8528 #28855D
square
#2E2885 #852851 #7F8528 #28855D
split-complementary
#2E2885 #855D28 #518528
monochromatic
#0D0C27 #1E1A56 #2E2885 #3E36B4 #615ACD

Accessibility & contrast

On white

11.94
#2E2885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E2885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2885
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2885#FFFFFF#000000##FFFFFF
##2E28851.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2885;
/* rgb */ color: rgb(46, 40, 133);
/* oklch */ color: oklch(35.0% 0.149 278.2);
Tailwind
colors: {
  custom: {
    50: '#7263a9',
    500: '#2e2885',
    950: '#000000',
  },
}
SCSS
$custom: #2e2885;
$custom-light: #7263a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2885",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 243.871,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34962,
    "c": 0.14926,
    "h": 278.2
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#2E2885
secondary
#ADB356
accent
#DD4BD4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2885

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

Preview Lab → · Contrast checker → · Palette generator →

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