#2321AC#2321AC

#2321AC is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.208 H 270.9°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2321AC
RGBrgb(35, 33, 172)
HSLhsl(241, 68%, 40%)
HSVhsv(241, 81%, 67%)
CMYKcmyk(79.7%, 80.8%, 0%, 32.5%)
CIE-LABlab(25.02, 48.35, -71.81)
CIE-LCHlch(25.02, 86.57, 303.95°)
OKLaboklab(37.47% 0.0034 -0.2079)
OKLCHoklch(37.47% 0.208 270.9)
XYZxyz(8.6809, 4.4226, 39.4179)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2321AC #AAAC21
analogous
#2165AC #2321AC #6821AC
triadic
#2321AC #AC2321 #21AC23
tetradic
#2321AC #AC2165 #AAAC21 #21AC68
square
#2321AC #AC2165 #AAAC21 #21AC68
split-complementary
#2321AC #AC6821 #65AC21
monochromatic
#0E0D45 #191779 #2321AC #3532D8 #6866E2

Accessibility & contrast

On white

11.14
#2321AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2321AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2321AC
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2321AC#FFFFFF#000000##FFFFFF
##2321AC1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0034AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2321ac;
/* rgb */ color: rgb(35, 33, 172);
/* oklch */ color: oklch(37.5% 0.208 270.9);
Tailwind
colors: {
  custom: {
    50: '#7860c6',
    500: '#2321ac',
    950: '#000000',
  },
}
SCSS
$custom: #2321ac;
$custom-light: #7860c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2321ac",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 240.863,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37466,
    "c": 0.20793,
    "h": 270.9
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#2321AC
secondary
#C6C762
accent
#EB3DE8
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2321AC

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

Preview Lab → · Contrast checker → · Palette generator →

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