#2C199C#2C199C

#2C199C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.3% C 0.193 H 276.4°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#2C199C
RGBrgb(44, 25, 156)
HSLhsl(249, 72%, 35%)
HSVhsv(249, 84%, 61%)
CMYKcmyk(71.8%, 84%, 0%, 38.8%)
CIE-LABlab(22.41, 47.80, -66.41)
CIE-LCHlch(22.41, 81.83, 305.74°)
OKLaboklab(35.26% 0.0217 -0.1919)
OKLCHoklch(35.26% 0.193 276.4)
XYZxyz(7.3851, 3.6303, 31.7576)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C199C #899C19
analogous
#19489C #2C199C #6D199C
triadic
#2C199C #9C2C19 #199C2C
tetradic
#2C199C #9C1948 #899C19 #199C6D
square
#2C199C #9C1948 #899C19 #199C6D
split-complementary
#2C199C #9C6D19 #489C19
monochromatic
#0E0833 #1D1167 #2C199C #3B21D1 #634DE2

Accessibility & contrast

On white

12.17
#2C199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C199C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C199C#FFFFFF#000000##FFFFFF
##2C199C1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.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: #2c199c;
/* rgb */ color: rgb(44, 25, 156);
/* oklch */ color: oklch(35.3% 0.193 276.4);
Tailwind
colors: {
  custom: {
    50: '#785bbb',
    500: '#2c199c',
    950: '#000000',
  },
}
SCSS
$custom: #2c199c;
$custom-light: #785bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c199c",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 248.702,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3526,
    "c": 0.19314,
    "h": 276.4
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C199C

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

Preview Lab → · Contrast checker → · Palette generator →

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