#2B20AC#2B20AC

#2B20AC is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.207 H 273.7°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2B20AC
RGBrgb(43, 32, 172)
HSLhsl(245, 69%, 40%)
HSVhsv(245, 81%, 67%)
CMYKcmyk(75%, 81.4%, 0%, 32.5%)
CIE-LABlab(25.33, 49.37, -71.28)
CIE-LCHlch(25.33, 86.71, 304.71°)
OKLaboklab(37.81% 0.0134 -0.2062)
OKLCHoklch(37.81% 0.207 273.7)
XYZxyz(8.9567, 4.5242, 39.4230)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B20AC #A1AC20
analogous
#205BAC #2B20AC #7120AC
triadic
#2B20AC #AC2B20 #20AC2B
tetradic
#2B20AC #AC205B #A1AC20 #20AC71
square
#2B20AC #AC205B #A1AC20 #20AC71
split-complementary
#2B20AC #AC7120 #5BAC20
monochromatic
#110D45 #1E1678 #2B20AC #3E31D9 #6E64E2

Accessibility & contrast

On white

11.02
#2B20AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B20AC
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B20AC#FFFFFF#000000##FFFFFF
##2B20AC1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b20ac;
/* rgb */ color: rgb(43, 32, 172);
/* oklch */ color: oklch(37.8% 0.207 273.7);
Tailwind
colors: {
  custom: {
    50: '#7b60c6',
    500: '#2b20ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b20ac;
$custom-light: #7b60c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b20ac",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 244.714,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.37811,
    "c": 0.20662,
    "h": 273.7
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#2B20AC
secondary
#BFC760
accent
#EB3CDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B20AC

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

Preview Lab → · Contrast checker → · Palette generator →

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