#2322C1#2322C1

#2322C1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.1% C 0.231 H 269.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2322C1
RGBrgb(35, 34, 193)
HSLhsl(240, 70%, 45%)
HSVhsv(240, 82%, 76%)
CMYKcmyk(81.9%, 82.4%, 0%, 24.3%)
CIE-LABlab(27.71, 54.42, -79.86)
CIE-LCHlch(27.71, 96.64, 304.27°)
OKLaboklab(40.06% -0.0013 -0.2312)
OKLCHoklch(40.06% 0.231 269.7)
XYZxyz(10.8875, 5.3503, 50.9006)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2322C1 #C0C122
analogous
#2271C1 #2322C1 #7222C1
triadic
#2322C1 #C12322 #22C123
tetradic
#2322C1 #C12271 #C0C122 #22C172
square
#2322C1 #C12271 #C0C122 #22C172
split-complementary
#2322C1 #C17222 #71C122
monochromatic
#101059 #1A198D #2322C1 #4342DE #7776E7

Accessibility & contrast

On white

10.14
#2322C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2322C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2322C1
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2322C1#FFFFFF#000000##FFFFFF
##2322C11.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C5
Deuteranopia (green-blind)
#0039BE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2322c1;
/* rgb */ color: rgb(35, 34, 193);
/* oklch */ color: oklch(40.1% 0.231 269.7);
Tailwind
colors: {
  custom: {
    50: '#7d62d5',
    500: '#2322c1',
    950: '#000000',
  },
}
SCSS
$custom: #2322c1;
$custom-light: #7d62d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2322c1",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 193
  },
  "hsl": {
    "h": 240.377,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.23119,
    "h": 269.7
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#2322C1
secondary
#CECE71
accent
#ED3BEC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2322C1

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

Preview Lab → · Contrast checker → · Palette generator →

#2322C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva