#2C1994#2C1994

#2C1994 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.184 H 277.6°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#2C1994
RGBrgb(44, 25, 148)
HSLhsl(249, 71%, 34%)
HSVhsv(249, 83%, 58%)
CMYKcmyk(70.3%, 83.1%, 0%, 42%)
CIE-LABlab(21.46, 45.38, -63.06)
CIE-LCHlch(21.46, 77.69, 305.74°)
OKLaboklab(34.33% 0.0242 -0.1822)
OKLCHoklch(34.33% 0.184 277.6)
XYZxyz(6.7299, 3.3682, 28.3067)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1994 #819419
analogous
#194494 #2C1994 #6A1994
triadic
#2C1994 #942C19 #19942C
tetradic
#2C1994 #941944 #819419 #19946A
square
#2C1994 #941944 #819419 #19946A
split-complementary
#2C1994 #946A19 #449419
monochromatic
#0D072B #1C1060 #2C1994 #3C22C8 #5F47E0

Accessibility & contrast

On white

12.55
#2C1994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1994
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1994#FFFFFF#000000##FFFFFF
##2C19941.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c1994;
/* rgb */ color: rgb(44, 25, 148);
/* oklch */ color: oklch(34.3% 0.184 277.6);
Tailwind
colors: {
  custom: {
    50: '#765ab5',
    500: '#2c1994',
    950: '#000000',
  },
}
SCSS
$custom: #2c1994;
$custom-light: #765ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1994",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 249.268,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34331,
    "c": 0.18378,
    "h": 277.6
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#2C1994
secondary
#AFC147
accent
#EE3AD2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1994

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

Preview Lab → · Contrast checker → · Palette generator →

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