#2B20B3#2B20B3

#2B20B3 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.215 H 273.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#2B20B3
RGBrgb(43, 32, 179)
HSLhsl(244, 70%, 41%)
HSVhsv(244, 82%, 70%)
CMYKcmyk(76%, 82.1%, 0%, 29.8%)
CIE-LABlab(26.16, 51.51, -74.11)
CIE-LCHlch(26.16, 90.26, 304.80°)
OKLaboklab(38.62% 0.0116 -0.2144)
OKLCHoklch(38.62% 0.215 273.1)
XYZxyz(9.6467, 4.8003, 43.0572)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B20B3 #A8B320
analogous
#205FB3 #2B20B3 #7520B3
triadic
#2B20B3 #B32B20 #20B32B
tetradic
#2B20B3 #B3205F #A8B320 #20B375
square
#2B20B3 #B3205F #A8B320 #20B375
split-complementary
#2B20B3 #B37520 #5FB320
monochromatic
#120D4B #1F177F #2B20B3 #4235DB #7269E4

Accessibility & contrast

On white

10.71
#2B20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B20B3
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B20B3#FFFFFF#000000##FFFFFF
##2B20B31.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b20b3;
/* rgb */ color: rgb(43, 32, 179);
/* oklch */ color: oklch(38.6% 0.215 273.1);
Tailwind
colors: {
  custom: {
    50: '#7c60cb',
    500: '#2b20b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b20b3;
$custom-light: #7c60cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b20b3",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 244.49,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.3862,
    "c": 0.2147,
    "h": 273.1
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

primary
#2B20B3
secondary
#C2CA65
accent
#EC3BDF
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2B20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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