#2C206F#2C206F

#2C206F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.130 H 282.9°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#2C206F
RGBrgb(44, 32, 111)
HSLhsl(249, 55%, 28%)
HSVhsv(249, 71%, 44%)
CMYKcmyk(60.4%, 71.2%, 0%, 56.5%)
CIE-LABlab(18.87, 29.56, -43.92)
CIE-LCHlch(18.87, 52.94, 303.94°)
OKLaboklab(31.32% 0.0289 -0.1264)
OKLCHoklch(31.32% 0.13 282.9)
XYZxyz(4.4236, 2.7159, 15.3270)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C206F #636F20
analogous
#203B6F #2C206F #53206F
triadic
#2C206F #6F2C20 #206F2C
tetradic
#2C206F #6F203B #636F20 #206F53
square
#2C206F #6F203B #636F20 #206F53
split-complementary
#2C206F #6F5320 #3B6F20
monochromatic
#090718 #19123F #2C206F #3F2E9F #5641C8

Accessibility & contrast

On white

13.61
#2C206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2C206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C206F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C206F#FFFFFF#000000##FFFFFF
##2C206F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#073444
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c206f;
/* rgb */ color: rgb(44, 32, 111);
/* oklch */ color: oklch(31.3% 0.130 282.9);
Tailwind
colors: {
  custom: {
    50: '#6d5c99',
    500: '#2c206f',
    950: '#000000',
  },
}
SCSS
$custom: #2c206f;
$custom-light: #6d5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2c206f",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 249.114,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31325,
    "c": 0.12965,
    "h": 282.9
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#2C206F
secondary
#95A348
accent
#DF49C8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2C206F

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

Preview Lab → · Contrast checker → · Palette generator →

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