#2C20BD#2C20BD

#2C20BD is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.8% C 0.226 H 272.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2C20BD
RGBrgb(44, 32, 189)
HSLhsl(245, 71%, 43%)
HSVhsv(245, 83%, 74%)
CMYKcmyk(76.7%, 83.1%, 0%, 25.9%)
CIE-LABlab(27.41, 54.59, -77.98)
CIE-LCHlch(27.41, 95.19, 304.99°)
OKLaboklab(39.85% 0.0103 -0.2256)
OKLCHoklch(39.85% 0.226 272.6)
XYZxyz(10.7375, 5.2415, 48.5801)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C20BD #B1BD20
analogous
#2062BD #2C20BD #7A20BD
triadic
#2C20BD #BD2C20 #20BD2C
tetradic
#2C20BD #BD2062 #B1BD20 #20BD7A
square
#2C20BD #BD2062 #B1BD20 #20BD7A
split-complementary
#2C20BD #BD7A20 #62BD20
monochromatic
#140E54 #201789 #2C20BD #493CDE #7A71E7

Accessibility & contrast

On white

10.25
#2C20BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C20BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C20BD
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C20BD#FFFFFF#000000##FFFFFF
##2C20BD1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C1
Deuteranopia (green-blind)
#0039BA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c20bd;
/* rgb */ color: rgb(44, 32, 189);
/* oklch */ color: oklch(39.8% 0.226 272.6);
Tailwind
colors: {
  custom: {
    50: '#7f61d2',
    500: '#2c20bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c20bd;
$custom-light: #7f61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c20bd",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 244.586,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39846,
    "c": 0.2258,
    "h": 272.6
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#2C20BD
secondary
#C6CD6B
accent
#EE3AE0
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2C20BD

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

Preview Lab → · Contrast checker → · Palette generator →

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