#2C199D#2C199D

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

Color values

HEX#2C199D
RGBrgb(44, 25, 157)
HSLhsl(249, 73%, 36%)
HSVhsv(249, 84%, 62%)
CMYKcmyk(72%, 84.1%, 0%, 38.4%)
CIE-LABlab(22.53, 48.10, -66.83)
CIE-LCHlch(22.53, 82.34, 305.75°)
OKLaboklab(35.38% 0.0214 -0.1931)
OKLCHoklch(35.38% 0.194 276.3)
XYZxyz(7.4702, 3.6643, 32.2054)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C199D #8A9D19
analogous
#19489D #2C199D #6E199D
triadic
#2C199D #9D2C19 #199D2C
tetradic
#2C199D #9D1948 #8A9D19 #199D6E
square
#2C199D #9D1948 #8A9D19 #199D6E
split-complementary
#2C199D #9D6E19 #489D19
monochromatic
#0E0833 #1D1168 #2C199D #3B21D2 #634EE3

Accessibility & contrast

On white

12.12
#2C199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2C199D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C199D
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C199D#FFFFFF#000000##FFFFFF
##2C199D1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c199d;
/* rgb */ color: rgb(44, 25, 157);
/* oklch */ color: oklch(35.4% 0.194 276.3);
Tailwind
colors: {
  custom: {
    50: '#785bbb',
    500: '#2c199d',
    950: '#000000',
  },
}
SCSS
$custom: #2c199d;
$custom-light: #785bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c199d",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 248.636,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35377,
    "c": 0.1943,
    "h": 276.3
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#2C199D
secondary
#B4C54D
accent
#EF39D5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2C199D

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

Preview Lab → · Contrast checker → · Palette generator →

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