#2C1EA9#2C1EA9

#2C1EA9 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.3% C 0.204 H 274.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2C1EA9
RGBrgb(44, 30, 169)
HSLhsl(246, 70%, 39%)
HSVhsv(246, 82%, 66%)
CMYKcmyk(74%, 82.2%, 0%, 33.7%)
CIE-LABlab(24.73, 49.46, -70.48)
CIE-LCHlch(24.73, 86.10, 305.06°)
OKLaboklab(37.31% 0.0162 -0.2038)
OKLCHoklch(37.31% 0.204 274.5)
XYZxyz(8.6620, 4.3277, 37.9073)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1EA9 #9BA91E
analogous
#1E56A9 #2C1EA9 #721EA9
triadic
#2C1EA9 #A92C1E #1EA92C
tetradic
#2C1EA9 #A91E56 #9BA91E #1EA972
square
#2C1EA9 #A91E56 #9BA91E #1EA972
split-complementary
#2C1EA9 #A9721E #56A91E
monochromatic
#110C41 #1E1575 #2C1EA9 #3C2BD9 #6C5FE3

Accessibility & contrast

On white

11.26
#2C1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C1EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1EA9
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1EA9#FFFFFF#000000##FFFFFF
##2C1EA91.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0034A7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c1ea9;
/* rgb */ color: rgb(44, 30, 169);
/* oklch */ color: oklch(37.3% 0.204 274.5);
Tailwind
colors: {
  custom: {
    50: '#7b5ec4',
    500: '#2c1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2c1ea9;
$custom-light: #7b5ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1ea9",
  "rgb": {
    "r": 44,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 246.043,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37306,
    "c": 0.20444,
    "h": 274.5
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#2C1EA9
secondary
#BCC75C
accent
#ED3BDB
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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