#2C189F#2C189F

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

Color values

HEX#2C189F
RGBrgb(44, 24, 159)
HSLhsl(249, 74%, 36%)
HSVhsv(249, 85%, 62%)
CMYKcmyk(72.3%, 84.9%, 0%, 37.6%)
CIE-LABlab(22.62, 49.13, -67.89)
CIE-LCHlch(22.62, 83.81, 305.89°)
OKLaboklab(35.51% 0.0211 -0.1962)
OKLCHoklch(35.51% 0.197 276.1)
XYZxyz(7.6213, 3.6912, 33.1050)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C189F #8B9F18
analogous
#18479F #2C189F #6F189F
triadic
#2C189F #9F2C18 #189F2C
tetradic
#2C189F #9F1847 #8B9F18 #189F6F
square
#2C189F #9F1847 #8B9F18 #189F6F
split-complementary
#2C189F #9F6F18 #479F18
monochromatic
#0F0835 #1D106A #2C189F #3B20D4 #644DE4

Accessibility & contrast

On white

12.08
#2C189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C189F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C189F#FFFFFF#000000##FFFFFF
##2C189F1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.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: #2c189f;
/* rgb */ color: rgb(44, 24, 159);
/* oklch */ color: oklch(35.5% 0.197 276.1);
Tailwind
colors: {
  custom: {
    50: '#795bbd',
    500: '#2c189f',
    950: '#000000',
  },
}
SCSS
$custom: #2c189f;
$custom-light: #795bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c189f",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 248.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35511,
    "c": 0.19733,
    "h": 276.1
  },
  "luminance": 0.03692
}

Semantic roles & 50–950 ramp

primary
#2C189F
secondary
#B4C64D
accent
#F037D5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C189F

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

Preview Lab → · Contrast checker → · Palette generator →

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