#2C206C#2C206C

#2C206C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.126 H 283.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#2C206C
RGBrgb(44, 32, 108)
HSLhsl(249, 54%, 27%)
HSVhsv(249, 70%, 42%)
CMYKcmyk(59.3%, 70.4%, 0%, 57.6%)
CIE-LABlab(18.59, 28.54, -42.43)
CIE-LCHlch(18.59, 51.14, 303.92°)
OKLaboklab(31.04% 0.0293 -0.122)
OKLCHoklch(31.04% 0.126 283.5)
XYZxyz(4.2612, 2.6509, 14.4716)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C206C #606C20
analogous
#203A6C #2C206C #52206C
triadic
#2C206C #6C2C20 #206C2C
tetradic
#2C206C #6C203A #606C20 #206C52
square
#2C206C #6C203A #606C20 #206C52
split-complementary
#2C206C #6C5220 #3A6C20
monochromatic
#0A0718 #19123D #2C206C #3F2E9B #5540C6

Accessibility & contrast

On white

13.72
#2C206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2C206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C206C
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C206C#FFFFFF#000000##FFFFFF
##2C206C1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#0C3343
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c206c;
/* rgb */ color: rgb(44, 32, 108);
/* oklch */ color: oklch(31.0% 0.126 283.5);
Tailwind
colors: {
  custom: {
    50: '#6d5c97',
    500: '#2c206c',
    950: '#000000',
  },
}
SCSS
$custom: #2c206c;
$custom-light: #6d5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#2c206c",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 249.474,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31037,
    "c": 0.12551,
    "h": 283.5
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#2C206C
secondary
#92A048
accent
#DE4AC6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2C206C

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

Preview Lab → · Contrast checker → · Palette generator →

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