#2C1AB3#2C1AB3

#2C1AB3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 38.1% C 0.219 H 273.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2C1AB3
RGBrgb(44, 26, 179)
HSLhsl(247, 75%, 40%)
HSVhsv(247, 85%, 70%)
CMYKcmyk(75.4%, 85.5%, 0%, 29.8%)
CIE-LABlab(25.35, 54.17, -75.46)
CIE-LCHlch(25.35, 92.89, 305.67°)
OKLaboklab(38.08% 0.0145 -0.2182)
OKLCHoklch(38.08% 0.219 273.8)
XYZxyz(9.5421, 4.5279, 43.0102)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1AB3 #A1B31A
analogous
#1A54B3 #2C1AB3 #791AB3
triadic
#2C1AB3 #B32C1A #1AB32C
tetradic
#2C1AB3 #B31A54 #A1B31A #1AB379
square
#2C1AB3 #B31A54 #A1B31A #1AB379
split-complementary
#2C1AB3 #B3791A #54B31A
monochromatic
#120A48 #1F127E #2C1AB3 #402AE0 #7060E8

Accessibility & contrast

On white

11.02
#2C1AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C1AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1AB3
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1AB3#FFFFFF#000000##FFFFFF
##2C1AB31.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c1ab3;
/* rgb */ color: rgb(44, 26, 179);
/* oklch */ color: oklch(38.1% 0.219 273.8);
Tailwind
colors: {
  custom: {
    50: '#7d5dcb',
    500: '#2c1ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2c1ab3;
$custom-light: #7d5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1ab3",
  "rgb": {
    "r": 44,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 247.059,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38078,
    "c": 0.21865,
    "h": 273.8
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#2C1AB3
secondary
#BFCC5D
accent
#F137DB
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2C1AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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