#2E199C#2E199C

#2E199C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.193 H 277.3°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#2E199C
RGBrgb(46, 25, 156)
HSLhsl(250, 72%, 35%)
HSVhsv(250, 84%, 61%)
CMYKcmyk(70.5%, 84%, 0%, 38.8%)
CIE-LABlab(22.57, 47.96, -66.14)
CIE-LCHlch(22.57, 81.70, 305.94°)
OKLaboklab(35.41% 0.0246 -0.1911)
OKLCHoklch(35.41% 0.193 277.3)
XYZxyz(7.4731, 3.6757, 31.7617)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E199C #879C19
analogous
#19469C #2E199C #6F199C
triadic
#2E199C #9C2E19 #199C2E
tetradic
#2E199C #9C1946 #879C19 #199C6F
square
#2E199C #9C1946 #879C19 #199C6F
split-complementary
#2E199C #9C6F19 #469C19
monochromatic
#0F0833 #1E1167 #2E199C #3E21D1 #654DE2

Accessibility & contrast

On white

12.10
#2E199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E199C
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E199C#FFFFFF#000000##FFFFFF
##2E199C1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e199c;
/* rgb */ color: rgb(46, 25, 156);
/* oklch */ color: oklch(35.4% 0.193 277.3);
Tailwind
colors: {
  custom: {
    50: '#795bbb',
    500: '#2e199c',
    950: '#000000',
  },
}
SCSS
$custom: #2e199c;
$custom-light: #795bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e199c",
  "rgb": {
    "r": 46,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 249.618,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3541,
    "c": 0.19267,
    "h": 277.3
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#2E199C
secondary
#B1C44C
accent
#EF39D2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2E199C

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

Preview Lab → · Contrast checker → · Palette generator →

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