#2E189E#2E189E

#2E189E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.196 H 277.2°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#2E189E
RGBrgb(46, 24, 158)
HSLhsl(250, 74%, 36%)
HSVhsv(250, 85%, 62%)
CMYKcmyk(70.9%, 84.8%, 0%, 38%)
CIE-LABlab(22.66, 48.98, -67.22)
CIE-LCHlch(22.66, 83.17, 306.08°)
OKLaboklab(35.54% 0.0244 -0.1942)
OKLCHoklch(35.54% 0.196 277.2)
XYZxyz(7.6229, 3.7020, 32.6540)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E189E #889E18
analogous
#18459E #2E189E #71189E
triadic
#2E189E #9E2E18 #189E2E
tetradic
#2E189E #9E1845 #889E18 #189E71
square
#2E189E #9E1845 #889E18 #189E71
split-complementary
#2E189E #9E7118 #459E18
monochromatic
#0F0834 #1F1069 #2E189E #3D20D3 #654DE4

Accessibility & contrast

On white

12.06
#2E189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E189E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E189E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E189E#FFFFFF#000000##FFFFFF
##2E189E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e189e;
/* rgb */ color: rgb(46, 24, 158);
/* oklch */ color: oklch(35.5% 0.196 277.2);
Tailwind
colors: {
  custom: {
    50: '#795bbc',
    500: '#2e189e',
    950: '#000000',
  },
}
SCSS
$custom: #2e189e;
$custom-light: #795bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e189e",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 249.851,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35542,
    "c": 0.19571,
    "h": 277.2
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#2E189E
secondary
#B2C64C
accent
#F038D2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E189E

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

Preview Lab → · Contrast checker → · Palette generator →

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