#2C207B#2C207B

#2C207B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.146 H 280.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#2C207B
RGBrgb(44, 32, 123)
HSLhsl(248, 59%, 30%)
HSVhsv(248, 74%, 48%)
CMYKcmyk(64.2%, 74%, 0%, 51.8%)
CIE-LABlab(20.04, 33.62, -49.72)
CIE-LCHlch(20.04, 60.01, 304.07°)
OKLaboklab(32.52% 0.0266 -0.1434)
OKLCHoklch(32.52% 0.146 280.5)
XYZxyz(5.1292, 2.9982, 19.0435)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C207B #6F7B20
analogous
#20417B #2C207B #59207B
triadic
#2C207B #7B2C20 #207B2C
tetradic
#2C207B #7B2041 #6F7B20 #207B59
square
#2C207B #7B2041 #6F7B20 #207B59
split-complementary
#2C207B #7B5920 #417B20
monochromatic
#09071A #1B134A #2C207B #3D2DAC #5846CF

Accessibility & contrast

On white

13.13
#2C207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C207B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C207B#FFFFFF#000000##FFFFFF
##2C207B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c207b;
/* rgb */ color: rgb(44, 32, 123);
/* oklch */ color: oklch(32.5% 0.146 280.5);
Tailwind
colors: {
  custom: {
    50: '#705da2',
    500: '#2c207b',
    950: '#000000',
  },
}
SCSS
$custom: #2c207b;
$custom-light: #705da2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c207b",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 247.912,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32519,
    "c": 0.14582,
    "h": 280.5
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#2C207B
secondary
#A1AE49
accent
#E246CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2C207B

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

Preview Lab → · Contrast checker → · Palette generator →

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