#2C1EB3#2C1EB3

#2C1EB3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.5% C 0.216 H 273.6°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2C1EB3
RGBrgb(44, 30, 179)
HSLhsl(246, 71%, 41%)
HSVhsv(246, 83%, 70%)
CMYKcmyk(75.4%, 83.2%, 0%, 29.8%)
CIE-LABlab(25.91, 52.48, -74.52)
CIE-LCHlch(25.91, 91.14, 305.16°)
OKLaboklab(38.47% 0.0135 -0.2155)
OKLCHoklch(38.47% 0.216 273.6)
XYZxyz(9.6370, 4.7177, 43.0418)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1EB3 #A5B31E
analogous
#1E5AB3 #2C1EB3 #761EB3
triadic
#2C1EB3 #B32C1E #1EB32C
tetradic
#2C1EB3 #B31E5A #A5B31E #1EB376
square
#2C1EB3 #B31E5A #A5B31E #1EB376
split-complementary
#2C1EB3 #B3761E #5AB31E
monochromatic
#120C4A #1F157F #2C1EB3 #4232DD #7266E5

Accessibility & contrast

On white

10.80
#2C1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C1EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1EB3
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1EB3#FFFFFF#000000##FFFFFF
##2C1EB31.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c1eb3;
/* rgb */ color: rgb(44, 30, 179);
/* oklch */ color: oklch(38.5% 0.216 273.6);
Tailwind
colors: {
  custom: {
    50: '#7d5fcb',
    500: '#2c1eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c1eb3;
$custom-light: #7d5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1eb3",
  "rgb": {
    "r": 44,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 245.638,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38469,
    "c": 0.21592,
    "h": 273.6
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#2C1EB3
secondary
#C1CB62
accent
#EE3ADD
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2C1EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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