#2B20A0#2B20A0

#2B20A0 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.192 H 274.9°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#2B20A0
RGBrgb(43, 32, 160)
HSLhsl(245, 67%, 38%)
HSVhsv(245, 80%, 63%)
CMYKcmyk(73.1%, 80%, 0%, 37.3%)
CIE-LABlab(23.95, 45.61, -66.31)
CIE-LCHlch(23.95, 80.49, 304.52°)
OKLaboklab(36.44% 0.0164 -0.1918)
OKLCHoklch(36.44% 0.192 274.9)
XYZxyz(7.8558, 4.0839, 33.6252)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B20A0 #95A020
analogous
#2055A0 #2B20A0 #6B20A0
triadic
#2B20A0 #A02B20 #20A02B
tetradic
#2B20A0 #A02055 #95A020 #20A06B
square
#2B20A0 #A02055 #95A020 #20A06B
split-complementary
#2B20A0 #A06B20 #55A020
monochromatic
#100C3A #1D166D #2B20A0 #392AD3 #675CDE

Accessibility & contrast

On white

11.56
#2B20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B20A0
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B20A0#FFFFFF#000000##FFFFFF
##2B20A01.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b20a0;
/* rgb */ color: rgb(43, 32, 160);
/* oklch */ color: oklch(36.4% 0.192 274.9);
Tailwind
colors: {
  custom: {
    50: '#785fbd',
    500: '#2b20a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b20a0;
$custom-light: #785fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b20a0",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 245.156,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36442,
    "c": 0.19246,
    "h": 274.9
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#2B20A0
secondary
#BAC359
accent
#EA3EDB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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