#2E2690#2E2690

#2E2690 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.166 H 277.2°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2E2690
RGBrgb(46, 38, 144)
HSLhsl(245, 58%, 36%)
HSVhsv(245, 74%, 56%)
CMYKcmyk(68.1%, 73.6%, 0%, 43.5%)
CIE-LABlab(23.61, 37.38, -57.03)
CIE-LCHlch(23.61, 68.19, 303.24°)
OKLaboklab(35.75% 0.0209 -0.1647)
OKLCHoklch(35.75% 0.166 277.2)
XYZxyz(6.8522, 3.9801, 26.7873)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2690 #889026
analogous
#265390 #2E2690 #632690
triadic
#2E2690 #902E26 #26902E
tetradic
#2E2690 #902653 #889026 #269063
square
#2E2690 #902653 #889026 #269063
split-complementary
#2E2690 #906326 #539026
monochromatic
#0F0C2F #1F1960 #2E2690 #3D33C0 #655CD4

Accessibility & contrast

On white

11.69
#2E2690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E2690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2690
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2690#FFFFFF#000000##FFFFFF
##2E26901.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2690;
/* rgb */ color: rgb(46, 38, 144);
/* oklch */ color: oklch(35.7% 0.166 277.2);
Tailwind
colors: {
  custom: {
    50: '#7562b2',
    500: '#2e2690',
    950: '#000000',
  },
}
SCSS
$custom: #2e2690;
$custom-light: #7562b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2690",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 244.528,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35746,
    "c": 0.16606,
    "h": 277.2
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#2E2690
secondary
#B2B959
accent
#E146D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2E2690

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

Preview Lab → · Contrast checker → · Palette generator →

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