#2C2086#2C2086

#2C2086 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.160 H 278.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#2C2086
RGBrgb(44, 32, 134)
HSLhsl(247, 61%, 33%)
HSVhsv(247, 76%, 53%)
CMYKcmyk(67.2%, 76.1%, 0%, 47.5%)
CIE-LABlab(21.17, 37.29, -54.82)
CIE-LCHlch(21.17, 66.30, 304.23°)
OKLaboklab(33.66% 0.0242 -0.1583)
OKLCHoklch(33.66% 0.16 278.7)
XYZxyz(5.8569, 3.2892, 22.8759)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2086 #7A8620
analogous
#204786 #2C2086 #5F2086
triadic
#2C2086 #862C20 #20862C
tetradic
#2C2086 #862047 #7A8620 #20865F
square
#2C2086 #862047 #7A8620 #20865F
split-complementary
#2C2086 #865F20 #478620
monochromatic
#0C0823 #1C1455 #2C2086 #3C2CB7 #5C4CD4

Accessibility & contrast

On white

12.67
#2C2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2C2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2086
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2086#FFFFFF#000000##FFFFFF
##2C20861.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c2086;
/* rgb */ color: rgb(44, 32, 134);
/* oklch */ color: oklch(33.7% 0.160 278.7);
Tailwind
colors: {
  custom: {
    50: '#725daa',
    500: '#2c2086',
    950: '#000000',
  },
}
SCSS
$custom: #2c2086;
$custom-light: #725daa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2086",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 247.059,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33663,
    "c": 0.16011,
    "h": 278.7
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#2C2086
secondary
#AAB74B
accent
#E543D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C2086

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

Preview Lab → · Contrast checker → · Palette generator →

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