#2322A5#2322A5

#2322A5 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.199 H 271.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2322A5
RGBrgb(35, 34, 165)
HSLhsl(240, 66%, 39%)
HSVhsv(240, 79%, 65%)
CMYKcmyk(78.8%, 79.4%, 0%, 35.3%)
CIE-LABlab(24.38, 45.58, -68.66)
CIE-LCHlch(24.38, 82.41, 303.58°)
OKLaboklab(36.78% 0.0046 -0.1988)
OKLCHoklch(36.78% 0.199 271.3)
XYZxyz(8.0544, 4.2171, 35.9795)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2322A5 #A4A522
analogous
#2263A5 #2322A5 #6522A5
triadic
#2322A5 #A52322 #22A523
tetradic
#2322A5 #A52263 #A4A522 #22A565
square
#2322A5 #A52263 #A4A522 #22A565
split-complementary
#2322A5 #A56522 #63A522
monochromatic
#0D0D40 #181872 #2322A5 #3130D4 #6463DF

Accessibility & contrast

On white

11.39
#2322A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2322A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2322A5
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2322A5#FFFFFF#000000##FFFFFF
##2322A51.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A9
Deuteranopia (green-blind)
#0033A3
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2322a5;
/* rgb */ color: rgb(35, 34, 165);
/* oklch */ color: oklch(36.8% 0.199 271.3);
Tailwind
colors: {
  custom: {
    50: '#7660c1',
    500: '#2322a5',
    950: '#000000',
  },
}
SCSS
$custom: #2322a5;
$custom-light: #7660c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2322a5",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 240.458,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36776,
    "c": 0.19881,
    "h": 271.3
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#2322A5
secondary
#C3C45F
accent
#E93FE7
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2322A5

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

Preview Lab → · Contrast checker → · Palette generator →

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