#2C1A88#2C1A88

#2C1A88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.169 H 279.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#2C1A88
RGBrgb(44, 26, 136)
HSLhsl(250, 68%, 32%)
HSVhsv(250, 81%, 53%)
CMYKcmyk(67.6%, 80.9%, 0%, 46.7%)
CIE-LABlab(20.25, 41.18, -57.59)
CIE-LCHlch(20.25, 70.79, 305.57°)
OKLaboklab(33.08% 0.0273 -0.1663)
OKLCHoklch(33.08% 0.169 279.3)
XYZxyz(5.8506, 3.0514, 23.5684)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1A88 #76881A
analogous
#1A3F88 #2C1A88 #631A88
triadic
#2C1A88 #882C1A #1A882C
tetradic
#2C1A88 #881A3F #76881A #1A8863
square
#2C1A88 #881A3F #76881A #1A8863
split-complementary
#2C1A88 #88631A #3F881A
monochromatic
#0B0621 #1B1055 #2C1A88 #3D24BB #5B42DB

Accessibility & contrast

On white

13.04
#2C1A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2C1A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1A88
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1A88#FFFFFF#000000##FFFFFF
##2C1A881.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c1a88;
/* rgb */ color: rgb(44, 26, 136);
/* oklch */ color: oklch(33.1% 0.169 279.3);
Tailwind
colors: {
  custom: {
    50: '#735aac',
    500: '#2c1a88',
    950: '#000000',
  },
}
SCSS
$custom: #2c1a88;
$custom-light: #735aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1a88",
  "rgb": {
    "r": 44,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 249.818,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33083,
    "c": 0.16852,
    "h": 279.3
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#2C1A88
secondary
#A7BB43
accent
#EB3DCE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C1A88

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

Preview Lab → · Contrast checker → · Palette generator →

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