#2B20BD#2B20BD

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

Color values

HEX#2B20BD
RGBrgb(43, 32, 189)
HSLhsl(244, 71%, 43%)
HSVhsv(244, 83%, 74%)
CMYKcmyk(77.2%, 83.1%, 0%, 25.9%)
CIE-LABlab(27.35, 54.53, -78.08)
CIE-LCHlch(27.35, 95.24, 304.93°)
OKLaboklab(39.79% 0.0091 -0.2259)
OKLCHoklch(39.79% 0.226 272.3)
XYZxyz(10.6950, 5.2196, 48.5781)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B20BD #B2BD20
analogous
#2063BD #2B20BD #7920BD
triadic
#2B20BD #BD2B20 #20BD2B
tetradic
#2B20BD #BD2063 #B2BD20 #20BD79
square
#2B20BD #BD2063 #B2BD20 #20BD79
split-complementary
#2B20BD #BD7920 #63BD20
monochromatic
#130E54 #1F1789 #2B20BD #483CDE #7971E7

Accessibility & contrast

On white

10.27
#2B20BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B20BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B20BD
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B20BD#FFFFFF#000000##FFFFFF
##2B20BD1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.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: #2b20bd;
/* rgb */ color: rgb(43, 32, 189);
/* oklch */ color: oklch(39.8% 0.226 272.3);
Tailwind
colors: {
  custom: {
    50: '#7f61d2',
    500: '#2b20bd',
    950: '#000000',
  },
}
SCSS
$custom: #2b20bd;
$custom-light: #7f61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b20bd",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 244.204,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39788,
    "c": 0.22606,
    "h": 272.3
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#2B20BD
secondary
#C7CD6B
accent
#EE3AE1
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2B20BD

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

Preview Lab → · Contrast checker → · Palette generator →

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