#2321BC#2321BC

#2321BC is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.4% C 0.226 H 270.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2321BC
RGBrgb(35, 33, 188)
HSLhsl(241, 70%, 43%)
HSVhsv(241, 82%, 74%)
CMYKcmyk(81.4%, 82.4%, 0%, 26.3%)
CIE-LABlab(26.95, 53.35, -78.17)
CIE-LCHlch(26.95, 94.64, 304.31°)
OKLaboklab(39.36% 0 -0.2263)
OKLCHoklch(39.36% 0.226 270)
XYZxyz(10.3110, 5.0747, 48.0033)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2321BC #BABC21
analogous
#216CBC #2321BC #7021BC
triadic
#2321BC #BC2321 #21BC23
tetradic
#2321BC #BC216C #BABC21 #21BC70
square
#2321BC #BC216C #BABC21 #21BC70
split-complementary
#2321BC #BC7021 #6CBC21
monochromatic
#100F54 #191888 #2321BC #3F3DDD #7371E6

Accessibility & contrast

On white

10.42
#2321BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2321BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2321BC
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2321BC#FFFFFF#000000##FFFFFF
##2321BC1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C0
Deuteranopia (green-blind)
#0037B9
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2321bc;
/* rgb */ color: rgb(35, 33, 188);
/* oklch */ color: oklch(39.4% 0.226 270.0);
Tailwind
colors: {
  custom: {
    50: '#7c61d2',
    500: '#2321bc',
    950: '#000000',
  },
}
SCSS
$custom: #2321bc;
$custom-light: #7c61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2321bc",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 240.774,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39356,
    "c": 0.2263,
    "h": 270
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#2321BC
secondary
#CCCD6C
accent
#ED3BEB
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2321BC

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

Preview Lab → · Contrast checker → · Palette generator →

#2321BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva