#2C189D#2C189D

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

Color values

HEX#2C189D
RGBrgb(44, 24, 157)
HSLhsl(249, 73%, 35%)
HSVhsv(249, 85%, 62%)
CMYKcmyk(72%, 84.7%, 0%, 38.4%)
CIE-LABlab(22.38, 48.54, -67.07)
CIE-LCHlch(22.38, 82.79, 305.89°)
OKLaboklab(35.28% 0.0217 -0.1938)
OKLCHoklch(35.28% 0.195 276.4)
XYZxyz(7.4492, 3.6224, 32.1984)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C189D #899D18
analogous
#18469D #2C189D #6F189D
triadic
#2C189D #9D2C18 #189D2C
tetradic
#2C189D #9D1846 #899D18 #189D6F
square
#2C189D #9D1846 #899D18 #189D6F
split-complementary
#2C189D #9D6F18 #469D18
monochromatic
#0E0833 #1D1068 #2C189D #3B20D2 #634CE4

Accessibility & contrast

On white

12.18
#2C189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2C189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C189D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C189D#FFFFFF#000000##FFFFFF
##2C189D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c189d;
/* rgb */ color: rgb(44, 24, 157);
/* oklch */ color: oklch(35.3% 0.195 276.4);
Tailwind
colors: {
  custom: {
    50: '#785bbb',
    500: '#2c189d',
    950: '#000000',
  },
}
SCSS
$custom: #2c189d;
$custom-light: #785bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c189d",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 249.023,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35275,
    "c": 0.19503,
    "h": 276.4
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#2C189D
secondary
#B3C54B
accent
#F038D4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2C189D

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

Preview Lab → · Contrast checker → · Palette generator →

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