#2C1894#2C1894

#2C1894 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.185 H 277.7°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2C1894
RGBrgb(44, 24, 148)
HSLhsl(250, 72%, 34%)
HSVhsv(250, 84%, 58%)
CMYKcmyk(70.3%, 83.8%, 0%, 42%)
CIE-LABlab(21.31, 45.84, -63.31)
CIE-LCHlch(21.31, 78.16, 305.90°)
OKLaboklab(34.22% 0.0246 -0.1829)
OKLCHoklch(34.22% 0.185 277.7)
XYZxyz(6.7089, 3.3263, 28.2997)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1894 #809418
analogous
#184294 #2C1894 #6A1894
triadic
#2C1894 #942C18 #18942C
tetradic
#2C1894 #941842 #809418 #18946A
square
#2C1894 #941842 #809418 #18946A
split-complementary
#2C1894 #946A18 #429418
monochromatic
#0D072B #1C0F5F #2C1894 #3C21C9 #5F45E1

Accessibility & contrast

On white

12.61
#2C1894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2C1894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1894
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1894#FFFFFF#000000##FFFFFF
##2C18941.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002E92
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c1894;
/* rgb */ color: rgb(44, 24, 148);
/* oklch */ color: oklch(34.2% 0.185 277.7);
Tailwind
colors: {
  custom: {
    50: '#765ab5',
    500: '#2c1894',
    950: '#000000',
  },
}
SCSS
$custom: #2c1894;
$custom-light: #765ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1894",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 148
  },
  "hsl": {
    "h": 249.677,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34223,
    "c": 0.18455,
    "h": 277.7
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#2C1894
secondary
#AEC246
accent
#EF39D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1894

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

Preview Lab → · Contrast checker → · Palette generator →

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