#2A20BD#2A20BD

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

Color values

HEX#2A20BD
RGBrgb(42, 32, 189)
HSLhsl(244, 71%, 43%)
HSVhsv(244, 83%, 74%)
CMYKcmyk(77.8%, 83.1%, 0%, 25.9%)
CIE-LABlab(27.29, 54.47, -78.18)
CIE-LCHlch(27.29, 95.29, 304.87°)
OKLaboklab(39.73% 0.0079 -0.2262)
OKLCHoklch(39.73% 0.226 272)
XYZxyz(10.6536, 5.1982, 48.5761)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A20BD #B3BD20
analogous
#2064BD #2A20BD #7920BD
triadic
#2A20BD #BD2A20 #20BD2A
tetradic
#2A20BD #BD2064 #B3BD20 #20BD79
square
#2A20BD #BD2064 #B3BD20 #20BD79
split-complementary
#2A20BD #BD7920 #64BD20
monochromatic
#130E54 #1E1789 #2A20BD #463CDE #7871E7

Accessibility & contrast

On white

10.30
#2A20BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A20BD
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A20BD#FFFFFF#000000##FFFFFF
##2A20BD1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C1
Deuteranopia (green-blind)
#0039BA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a20bd;
/* rgb */ color: rgb(42, 32, 189);
/* oklch */ color: oklch(39.7% 0.226 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e61d2',
    500: '#2a20bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a20bd;
$custom-light: #7e61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a20bd",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 243.822,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.22633,
    "h": 272
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A20BD

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

Preview Lab → · Contrast checker → · Palette generator →

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