#2B20A9#2B20A9

#2B20A9 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.203 H 274.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2B20A9
RGBrgb(43, 32, 169)
HSLhsl(245, 68%, 39%)
HSVhsv(245, 81%, 66%)
CMYKcmyk(74.6%, 81.1%, 0%, 33.7%)
CIE-LABlab(24.98, 48.44, -70.05)
CIE-LCHlch(24.98, 85.17, 304.66°)
OKLaboklab(37.47% 0.0141 -0.2026)
OKLCHoklch(37.47% 0.203 274)
XYZxyz(8.6718, 4.4103, 37.9227)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B20A9 #9EA920
analogous
#2059A9 #2B20A9 #7020A9
triadic
#2B20A9 #A92B20 #20A92B
tetradic
#2B20A9 #A92059 #9EA920 #20A970
square
#2B20A9 #A92059 #9EA920 #20A970
split-complementary
#2B20A9 #A97020 #59A920
monochromatic
#110D42 #1E1676 #2B20A9 #3C2FD8 #6C62E1

Accessibility & contrast

On white

11.16
#2B20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B20A9
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B20A9#FFFFFF#000000##FFFFFF
##2B20A91.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0035A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b20a9;
/* rgb */ color: rgb(43, 32, 169);
/* oklch */ color: oklch(37.5% 0.203 274.0);
Tailwind
colors: {
  custom: {
    50: '#7a5fc4',
    500: '#2b20a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b20a9;
$custom-light: #7a5fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b20a9",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 244.818,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37466,
    "c": 0.20311,
    "h": 274
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#2B20A9
secondary
#BEC65F
accent
#EB3DDD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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