#2E2188#2E2188

#2E2188 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.161 H 279.3°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2E2188
RGBrgb(46, 33, 136)
HSLhsl(248, 61%, 33%)
HSVhsv(248, 76%, 53%)
CMYKcmyk(66.2%, 75.7%, 0%, 46.7%)
CIE-LABlab(21.75, 37.63, -55.11)
CIE-LCHlch(21.75, 66.73, 304.32°)
OKLaboklab(34.18% 0.026 -0.1591)
OKLCHoklch(34.18% 0.161 279.3)
XYZxyz(6.1131, 3.4456, 23.6307)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2188 #7B8821
analogous
#214788 #2E2188 #612188
triadic
#2E2188 #882E21 #21882E
tetradic
#2E2188 #882147 #7B8821 #218861
square
#2E2188 #882147 #7B8821 #218861
split-complementary
#2E2188 #886121 #478821
monochromatic
#0D0925 #1D1557 #2E2188 #3F2DB9 #604FD4

Accessibility & contrast

On white

12.43
#2E2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2188
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2188#FFFFFF#000000##FFFFFF
##2E21881.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2188;
/* rgb */ color: rgb(46, 33, 136);
/* oklch */ color: oklch(34.2% 0.161 279.3);
Tailwind
colors: {
  custom: {
    50: '#745eac',
    500: '#2e2188',
    950: '#000000',
  },
}
SCSS
$custom: #2e2188;
$custom-light: #745eac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2188",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 247.573,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34179,
    "c": 0.16119,
    "h": 279.3
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2188

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

Preview Lab → · Contrast checker → · Palette generator →

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