#2E2689#2E2689

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

Color values

HEX#2E2689
RGBrgb(46, 38, 137)
HSLhsl(245, 57%, 34%)
HSVhsv(245, 72%, 54%)
CMYKcmyk(66.4%, 72.3%, 0%, 46.3%)
CIE-LABlab(22.91, 35.02, -53.83)
CIE-LCHlch(22.91, 64.22, 303.04°)
OKLaboklab(35.03% 0.0222 -0.1554)
OKLCHoklch(35.03% 0.157 278.1)
XYZxyz(6.3337, 3.7727, 24.0565)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2689 #818926
analogous
#265089 #2E2689 #5F2689
triadic
#2E2689 #892E26 #26892E
tetradic
#2E2689 #892650 #818926 #26895F
square
#2E2689 #892650 #818926 #26895F
split-complementary
#2E2689 #895F26 #508926
monochromatic
#0E0B29 #1E1959 #2E2689 #3E33B9 #6259D1

Accessibility & contrast

On white

11.97
#2E2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2E2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2689
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2689#FFFFFF#000000##FFFFFF
##2E26891.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2689;
/* rgb */ color: rgb(46, 38, 137);
/* oklch */ color: oklch(35.0% 0.157 278.1);
Tailwind
colors: {
  custom: {
    50: '#7361ac',
    500: '#2e2689',
    950: '#000000',
  },
}
SCSS
$custom: #2e2689;
$custom-light: #7361ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2689",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 244.848,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35034,
    "c": 0.15694,
    "h": 278.1
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#2E2689
secondary
#AEB655
accent
#E048D4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2689

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

Preview Lab → · Contrast checker → · Palette generator →

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