#2C207F#2C207F

#2C207F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.151 H 279.8°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#2C207F
RGBrgb(44, 32, 127)
HSLhsl(248, 60%, 31%)
HSVhsv(248, 75%, 50%)
CMYKcmyk(65.4%, 74.8%, 0%, 50.2%)
CIE-LABlab(20.44, 34.96, -51.59)
CIE-LCHlch(20.44, 62.32, 304.12°)
OKLaboklab(32.93% 0.0258 -0.1489)
OKLCHoklch(32.93% 0.151 279.8)
XYZxyz(5.3848, 3.1004, 20.3892)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C207F #737F20
analogous
#20437F #2C207F #5B207F
triadic
#2C207F #7F2C20 #207F2C
tetradic
#2C207F #7F2043 #737F20 #207F5B
square
#2C207F #7F2043 #737F20 #207F5B
split-complementary
#2C207F #7F5B20 #437F20
monochromatic
#0A071D #1B144E #2C207F #3D2CB0 #5A48D1

Accessibility & contrast

On white

12.96
#2C207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2C207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C207F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C207F#FFFFFF#000000##FFFFFF
##2C207F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c207f;
/* rgb */ color: rgb(44, 32, 127);
/* oklch */ color: oklch(32.9% 0.151 279.8);
Tailwind
colors: {
  custom: {
    50: '#715da5',
    500: '#2c207f',
    950: '#000000',
  },
}
SCSS
$custom: #2c207f;
$custom-light: #715da5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c207f",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 247.579,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3293,
    "c": 0.15108,
    "h": 279.8
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#2C207F
secondary
#A5B249
accent
#E345CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2C207F

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

Preview Lab → · Contrast checker → · Palette generator →

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