#2E2189#2E2189

#2E2189 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.162 H 279.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#2E2189
RGBrgb(46, 33, 137)
HSLhsl(248, 61%, 33%)
HSVhsv(248, 76%, 54%)
CMYKcmyk(66.4%, 75.9%, 0%, 46.3%)
CIE-LABlab(21.85, 37.96, -55.56)
CIE-LCHlch(21.85, 67.29, 304.34°)
OKLaboklab(34.28% 0.0258 -0.1604)
OKLCHoklch(34.28% 0.162 279.1)
XYZxyz(6.1845, 3.4742, 24.0067)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2189 #7C8921
analogous
#214889 #2E2189 #622189
triadic
#2E2189 #892E21 #21892E
tetradic
#2E2189 #892148 #7C8921 #218962
square
#2E2189 #892148 #7C8921 #218962
split-complementary
#2E2189 #896221 #488921
monochromatic
#0D0926 #1D1558 #2E2189 #3F2DBA #6050D5

Accessibility & contrast

On white

12.39
#2E2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2189
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2189#FFFFFF#000000##FFFFFF
##2E21891.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2189;
/* rgb */ color: rgb(46, 33, 137);
/* oklch */ color: oklch(34.3% 0.162 279.1);
Tailwind
colors: {
  custom: {
    50: '#745eac',
    500: '#2e2189',
    950: '#000000',
  },
}
SCSS
$custom: #2e2189;
$custom-light: #745eac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2189",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 247.5,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34284,
    "c": 0.16247,
    "h": 279.1
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#2E2189
secondary
#ABB84E
accent
#E444D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2189

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

Preview Lab → · Contrast checker → · Palette generator →

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