#2C189B#2C189B

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

Color values

HEX#2C189B
RGBrgb(44, 24, 155)
HSLhsl(249, 73%, 35%)
HSVhsv(249, 85%, 61%)
CMYKcmyk(71.6%, 84.5%, 0%, 39.2%)
CIE-LABlab(22.14, 47.94, -66.24)
CIE-LCHlch(22.14, 81.77, 305.89°)
OKLaboklab(35.04% 0.0224 -0.1914)
OKLCHoklch(35.04% 0.193 276.7)
XYZxyz(7.2798, 3.5546, 31.3065)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C189B #879B18
analogous
#18469B #2C189B #6D189B
triadic
#2C189B #9B2C18 #189B2C
tetradic
#2C189B #9B1846 #879B18 #189B6D
square
#2C189B #9B1846 #879B18 #189B6D
split-complementary
#2C189B #9B6D18 #469B18
monochromatic
#0E0831 #1D1066 #2C189B #3B20D0 #624AE3

Accessibility & contrast

On white

12.27
#2C189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2C189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C189B
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C189B#FFFFFF#000000##FFFFFF
##2C189B1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9E
Deuteranopia (green-blind)
#002F99
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c189b;
/* rgb */ color: rgb(44, 24, 155);
/* oklch */ color: oklch(35.0% 0.193 276.7);
Tailwind
colors: {
  custom: {
    50: '#785aba',
    500: '#2c189b',
    950: '#000000',
  },
}
SCSS
$custom: #2c189b;
$custom-light: #785aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c189b",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 249.16,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3504,
    "c": 0.19272,
    "h": 276.7
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#2C189B
secondary
#B2C54A
accent
#F038D4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2C189B

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

Preview Lab → · Contrast checker → · Palette generator →

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