#2B20AD#2B20AD

#2B20AD is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.9% C 0.208 H 273.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2B20AD
RGBrgb(43, 32, 173)
HSLhsl(245, 69%, 40%)
HSVhsv(245, 82%, 68%)
CMYKcmyk(75.1%, 81.5%, 0%, 32.2%)
CIE-LABlab(25.45, 49.68, -71.69)
CIE-LCHlch(25.45, 87.22, 304.72°)
OKLaboklab(37.93% 0.0131 -0.2074)
OKLCHoklch(37.93% 0.208 273.6)
XYZxyz(9.0531, 4.5628, 39.9307)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B20AD #A2AD20
analogous
#205BAD #2B20AD #7220AD
triadic
#2B20AD #AD2B20 #20AD2B
tetradic
#2B20AD #AD205B #A2AD20 #20AD72
square
#2B20AD #AD205B #A2AD20 #20AD72
split-complementary
#2B20AD #AD7220 #5BAD20
monochromatic
#110D46 #1E1679 #2B20AD #3E31D9 #6F65E2

Accessibility & contrast

On white

10.98
#2B20AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B20AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B20AD
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B20AD#FFFFFF#000000##FFFFFF
##2B20AD1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#0036AB
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b20ad;
/* rgb */ color: rgb(43, 32, 173);
/* oklch */ color: oklch(37.9% 0.208 273.6);
Tailwind
colors: {
  custom: {
    50: '#7b60c7',
    500: '#2b20ad',
    950: '#000000',
  },
}
SCSS
$custom: #2b20ad;
$custom-light: #7b60c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b20ad",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 244.681,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37926,
    "c": 0.20778,
    "h": 273.6
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#2B20AD
secondary
#C0C861
accent
#EC3CDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B20AD

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

Preview Lab → · Contrast checker → · Palette generator →

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