#2C2085#2C2085

#2C2085 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.159 H 278.9°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#2C2085
RGBrgb(44, 32, 133)
HSLhsl(247, 61%, 32%)
HSVhsv(247, 76%, 52%)
CMYKcmyk(66.9%, 75.9%, 0%, 47.8%)
CIE-LABlab(21.06, 36.96, -54.36)
CIE-LCHlch(21.06, 65.73, 304.21°)
OKLaboklab(33.56% 0.0245 -0.1569)
OKLCHoklch(33.56% 0.159 278.9)
XYZxyz(5.7875, 3.2615, 22.5103)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2085 #798520
analogous
#204685 #2C2085 #5F2085
triadic
#2C2085 #852C20 #20852C
tetradic
#2C2085 #852046 #798520 #20855F
square
#2C2085 #852046 #798520 #20855F
split-complementary
#2C2085 #855F20 #468520
monochromatic
#0B0822 #1C1454 #2C2085 #3C2CB6 #5C4CD4

Accessibility & contrast

On white

12.71
#2C2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2C2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2085
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2085#FFFFFF#000000##FFFFFF
##2C20851.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2085;
/* rgb */ color: rgb(44, 32, 133);
/* oklch */ color: oklch(33.6% 0.159 278.9);
Tailwind
colors: {
  custom: {
    50: '#725daa',
    500: '#2c2085',
    950: '#000000',
  },
}
SCSS
$custom: #2c2085;
$custom-light: #725daa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2085",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 247.129,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33558,
    "c": 0.15883,
    "h": 278.9
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#2C2085
secondary
#AAB74A
accent
#E443D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C2085

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

Preview Lab → · Contrast checker → · Palette generator →

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