#2B20A8#2B20A8

#2B20A8 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.4% C 0.202 H 274.1°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2B20A8
RGBrgb(43, 32, 168)
HSLhsl(245, 68%, 39%)
HSVhsv(245, 81%, 66%)
CMYKcmyk(74.4%, 81%, 0%, 34.1%)
CIE-LABlab(24.87, 48.13, -69.64)
CIE-LCHlch(24.87, 84.65, 304.65°)
OKLaboklab(37.35% 0.0144 -0.2014)
OKLCHoklch(37.35% 0.202 274.1)
XYZxyz(8.5783, 4.3729, 37.4302)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B20A8 #9DA820
analogous
#2059A8 #2B20A8 #6F20A8
triadic
#2B20A8 #A82B20 #20A82B
tetradic
#2B20A8 #A82059 #9DA820 #20A86F
square
#2B20A8 #A82059 #9DA820 #20A86F
split-complementary
#2B20A8 #A86F20 #59A820
monochromatic
#110C41 #1E1675 #2B20A8 #3C2ED7 #6C61E1

Accessibility & contrast

On white

11.20
#2B20A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B20A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B20A8
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B20A8#FFFFFF#000000##FFFFFF
##2B20A81.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b20a8;
/* rgb */ color: rgb(43, 32, 168);
/* oklch */ color: oklch(37.4% 0.202 274.1);
Tailwind
colors: {
  custom: {
    50: '#7a5fc3',
    500: '#2b20a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b20a8;
$custom-light: #7a5fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b20a8",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 244.853,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37352,
    "c": 0.20194,
    "h": 274.1
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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