#2B20AA#2B20AA

#2B20AA is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.6% C 0.204 H 273.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2B20AA
RGBrgb(43, 32, 170)
HSLhsl(245, 68%, 40%)
HSVhsv(245, 81%, 67%)
CMYKcmyk(74.7%, 81.2%, 0%, 33.3%)
CIE-LABlab(25.10, 48.75, -70.46)
CIE-LCHlch(25.10, 85.68, 304.68°)
OKLaboklab(37.58% 0.0139 -0.2038)
OKLCHoklch(37.58% 0.204 273.9)
XYZxyz(8.7661, 4.4480, 38.4190)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B20AA #9FAA20
analogous
#205AAA #2B20AA #7020AA
triadic
#2B20AA #AA2B20 #20AA2B
tetradic
#2B20AA #AA205A #9FAA20 #20AA70
square
#2B20AA #AA205A #9FAA20 #20AA70
split-complementary
#2B20AA #AA7020 #5AAA20
monochromatic
#110D43 #1E1676 #2B20AA #3D2FD8 #6D63E2

Accessibility & contrast

On white

11.11
#2B20AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B20AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B20AA
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B20AA#FFFFFF#000000##FFFFFF
##2B20AA1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0035A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b20aa;
/* rgb */ color: rgb(43, 32, 170);
/* oklch */ color: oklch(37.6% 0.204 273.9);
Tailwind
colors: {
  custom: {
    50: '#7a60c5',
    500: '#2b20aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b20aa;
$custom-light: #7a60c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b20aa",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 244.783,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37581,
    "c": 0.20428,
    "h": 273.9
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B20AA

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

Preview Lab → · Contrast checker → · Palette generator →

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