#2321D4#2321D4

#2321D4 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 42.2% C 0.253 H 268.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2321D4
RGBrgb(35, 33, 212)
HSLhsl(241, 73%, 48%)
HSVhsv(241, 84%, 83%)
CMYKcmyk(83.5%, 84.4%, 0%, 16.9%)
CIE-LABlab(29.90, 60.52, -87.32)
CIE-LCHlch(29.90, 106.24, 304.73°)
OKLaboklab(42.24% -0.005 -0.2527)
OKLCHoklch(42.24% 0.253 268.9)
XYZxyz(13.1166, 6.1969, 62.7794)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2321D4 #D2D421
analogous
#2179D4 #2321D4 #7C21D4
triadic
#2321D4 #D42321 #21D423
tetradic
#2321D4 #D42179 #D2D421 #21D47C
square
#2321D4 #D42179 #D2D421 #21D47C
split-complementary
#2321D4 #D47C21 #79D421
monochromatic
#12116A #1A199F #2321D4 #504FE4 #8584EC

Accessibility & contrast

On white

9.38
#2321D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2321D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2321D4
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2321D4#FFFFFF#000000##FFFFFF
##2321D41.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050D9
Deuteranopia (green-blind)
#003DD1
Tritanopia (blue-blind)
#005D7F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2321d4;
/* rgb */ color: rgb(35, 33, 212);
/* oklch */ color: oklch(42.2% 0.253 268.9);
Tailwind
colors: {
  custom: {
    50: '#8263e3',
    500: '#2321d4',
    950: '#000000',
  },
}
SCSS
$custom: #2321d4;
$custom-light: #8263e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2321d4",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 212
  },
  "hsl": {
    "h": 240.67,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42236,
    "c": 0.25278,
    "h": 268.9
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#2321D4
secondary
#D4D57C
accent
#F038EE
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2321D4

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

Preview Lab → · Contrast checker → · Palette generator →

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