#2C207E#2C207E

#2C207E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.150 H 280.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#2C207E
RGBrgb(44, 32, 126)
HSLhsl(248, 59%, 31%)
HSVhsv(248, 75%, 49%)
CMYKcmyk(65.1%, 74.6%, 0%, 50.6%)
CIE-LABlab(20.34, 34.62, -51.13)
CIE-LCHlch(20.34, 61.75, 304.11°)
OKLaboklab(32.83% 0.026 -0.1475)
OKLCHoklch(32.83% 0.15 280)
XYZxyz(5.3199, 3.0744, 20.0477)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C207E #727E20
analogous
#20437E #2C207E #5B207E
triadic
#2C207E #7E2C20 #207E2C
tetradic
#2C207E #7E2043 #727E20 #207E5B
square
#2C207E #7E2043 #727E20 #207E5B
split-complementary
#2C207E #7E5B20 #437E20
monochromatic
#0A071C #1B144D #2C207E #3D2CAF #5948D0

Accessibility & contrast

On white

13.00
#2C207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C207E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C207E#FFFFFF#000000##FFFFFF
##2C207E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c207e;
/* rgb */ color: rgb(44, 32, 126);
/* oklch */ color: oklch(32.8% 0.150 280.0);
Tailwind
colors: {
  custom: {
    50: '#715da4',
    500: '#2c207e',
    950: '#000000',
  },
}
SCSS
$custom: #2c207e;
$custom-light: #715da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c207e",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 247.66,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32827,
    "c": 0.14976,
    "h": 280
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

primary
#2C207E
secondary
#A4B149
accent
#E345CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2C207E

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

Preview Lab → · Contrast checker → · Palette generator →

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