#2C1EA8#2C1EA8

#2C1EA8 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.203 H 274.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2C1EA8
RGBrgb(44, 30, 168)
HSLhsl(246, 70%, 39%)
HSVhsv(246, 82%, 66%)
CMYKcmyk(73.8%, 82.1%, 0%, 34.1%)
CIE-LABlab(24.61, 49.16, -70.07)
CIE-LCHlch(24.61, 85.59, 305.05°)
OKLaboklab(37.19% 0.0164 -0.2026)
OKLCHoklch(37.19% 0.203 274.6)
XYZxyz(8.5685, 4.2903, 37.4147)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1EA8 #9AA81E
analogous
#1E55A8 #2C1EA8 #711EA8
triadic
#2C1EA8 #A82C1E #1EA82C
tetradic
#2C1EA8 #A81E55 #9AA81E #1EA871
square
#2C1EA8 #A81E55 #9AA81E #1EA871
split-complementary
#2C1EA8 #A8711E #55A81E
monochromatic
#110B40 #1E1574 #2C1EA8 #3C2AD9 #6C5EE2

Accessibility & contrast

On white

11.30
#2C1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1EA8
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1EA8#FFFFFF#000000##FFFFFF
##2C1EA81.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c1ea8;
/* rgb */ color: rgb(44, 30, 168);
/* oklch */ color: oklch(37.2% 0.203 274.6);
Tailwind
colors: {
  custom: {
    50: '#7a5ec3',
    500: '#2c1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2c1ea8;
$custom-light: #7a5ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1ea8",
  "rgb": {
    "r": 44,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 246.087,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3719,
    "c": 0.20329,
    "h": 274.6
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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