#2C207C#2C207C

#2C207C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.147 H 280.3°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2C207C
RGBrgb(44, 32, 124)
HSLhsl(248, 59%, 31%)
HSVhsv(248, 74%, 49%)
CMYKcmyk(64.5%, 74.2%, 0%, 51.4%)
CIE-LABlab(20.14, 33.95, -50.19)
CIE-LCHlch(20.14, 60.59, 304.08°)
OKLaboklab(32.62% 0.0264 -0.1447)
OKLCHoklch(32.62% 0.147 280.3)
XYZxyz(5.1922, 3.0233, 19.3748)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C207C #707C20
analogous
#20427C #2C207C #5A207C
triadic
#2C207C #7C2C20 #207C2C
tetradic
#2C207C #7C2042 #707C20 #207C5A
square
#2C207C #7C2042 #707C20 #207C5A
split-complementary
#2C207C #7C5A20 #427C20
monochromatic
#09071B #1B134B #2C207C #3D2DAD #5947CF

Accessibility & contrast

On white

13.09
#2C207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2C207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C207C
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C207C#FFFFFF#000000##FFFFFF
##2C207C1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c207c;
/* rgb */ color: rgb(44, 32, 124);
/* oklch */ color: oklch(32.6% 0.147 280.3);
Tailwind
colors: {
  custom: {
    50: '#705da3',
    500: '#2c207c',
    950: '#000000',
  },
}
SCSS
$custom: #2c207c;
$custom-light: #705da3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c207c",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 247.826,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32621,
    "c": 0.14714,
    "h": 280.3
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#2C207C
secondary
#A2AF49
accent
#E246CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2C207C

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

Preview Lab → · Contrast checker → · Palette generator →

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