#2C207D#2C207D

#2C207D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.148 H 280.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2C207D
RGBrgb(44, 32, 125)
HSLhsl(248, 59%, 31%)
HSVhsv(248, 74%, 49%)
CMYKcmyk(64.8%, 74.4%, 0%, 51%)
CIE-LABlab(20.24, 34.29, -50.66)
CIE-LCHlch(20.24, 61.17, 304.09°)
OKLaboklab(32.72% 0.0262 -0.1461)
OKLCHoklch(32.72% 0.148 280.2)
XYZxyz(5.2557, 3.0488, 19.7096)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C207D #717D20
analogous
#20427D #2C207D #5A207D
triadic
#2C207D #7D2C20 #207D2C
tetradic
#2C207D #7D2042 #717D20 #207D5A
square
#2C207D #7D2042 #717D20 #207D5A
split-complementary
#2C207D #7D5A20 #427D20
monochromatic
#0A071C #1B144C #2C207D #3D2CAE #5947D0

Accessibility & contrast

On white

13.05
#2C207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2C207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C207D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C207D#FFFFFF#000000##FFFFFF
##2C207D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c207d;
/* rgb */ color: rgb(44, 32, 125);
/* oklch */ color: oklch(32.7% 0.148 280.2);
Tailwind
colors: {
  custom: {
    50: '#705da4',
    500: '#2c207d',
    950: '#000000',
  },
}
SCSS
$custom: #2c207d;
$custom-light: #705da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c207d",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 247.742,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32724,
    "c": 0.14845,
    "h": 280.2
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#2C207D
secondary
#A3B049
accent
#E245CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2C207D

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

Preview Lab → · Contrast checker → · Palette generator →

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