#2C199F#2C199F

#2C199F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.6% C 0.197 H 276.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#2C199F
RGBrgb(44, 25, 159)
HSLhsl(249, 73%, 36%)
HSVhsv(249, 84%, 62%)
CMYKcmyk(72.3%, 84.3%, 0%, 37.6%)
CIE-LABlab(22.77, 48.70, -67.65)
CIE-LCHlch(22.77, 83.36, 305.75°)
OKLaboklab(35.61% 0.0208 -0.1955)
OKLCHoklch(35.61% 0.197 276.1)
XYZxyz(7.6423, 3.7332, 33.1120)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C199F #8C9F19
analogous
#19499F #2C199F #6F199F
triadic
#2C199F #9F2C19 #199F2C
tetradic
#2C199F #9F1949 #8C9F19 #199F6F
square
#2C199F #9F1949 #8C9F19 #199F6F
split-complementary
#2C199F #9F6F19 #499F19
monochromatic
#0F0835 #1D116A #2C199F #3B21D4 #644FE3

Accessibility & contrast

On white

12.02
#2C199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C199F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C199F#FFFFFF#000000##FFFFFF
##2C199F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c199f;
/* rgb */ color: rgb(44, 25, 159);
/* oklch */ color: oklch(35.6% 0.197 276.1);
Tailwind
colors: {
  custom: {
    50: '#795bbd',
    500: '#2c199f',
    950: '#000000',
  },
}
SCSS
$custom: #2c199f;
$custom-light: #795bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c199f",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 248.507,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35611,
    "c": 0.19662,
    "h": 276.1
  },
  "luminance": 0.03734
}

Semantic roles & 50–950 ramp

primary
#2C199F
secondary
#B5C64E
accent
#F038D6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C199F

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

Preview Lab → · Contrast checker → · Palette generator →

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