#2322A8#2322A8

#2322A8 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.202 H 271.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2322A8
RGBrgb(35, 34, 168)
HSLhsl(240, 66%, 40%)
HSVhsv(240, 80%, 66%)
CMYKcmyk(79.2%, 79.8%, 0%, 34.1%)
CIE-LABlab(24.73, 46.56, -69.89)
CIE-LCHlch(24.73, 83.98, 303.67°)
OKLaboklab(37.12% 0.004 -0.2023)
OKLCHoklch(37.12% 0.202 271.1)
XYZxyz(8.3307, 4.3276, 37.4345)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2322A8 #A7A822
analogous
#2264A8 #2322A8 #6622A8
triadic
#2322A8 #A82322 #22A823
tetradic
#2322A8 #A82264 #A7A822 #22A866
square
#2322A8 #A82264 #A7A822 #22A866
split-complementary
#2322A8 #A86622 #64A822
monochromatic
#0E0D42 #181875 #2322A8 #3332D5 #6665E0

Accessibility & contrast

On white

11.26
#2322A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2322A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2322A8
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2322A8#FFFFFF#000000##FFFFFF
##2322A81.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2322a8;
/* rgb */ color: rgb(35, 34, 168);
/* oklch */ color: oklch(37.1% 0.202 271.1);
Tailwind
colors: {
  custom: {
    50: '#7760c3',
    500: '#2322a8',
    950: '#000000',
  },
}
SCSS
$custom: #2322a8;
$custom-light: #7760c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2322a8",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 240.448,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37123,
    "c": 0.20238,
    "h": 271.1
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#2322A8
secondary
#C4C561
accent
#E93FE8
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2322A8

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

Preview Lab → · Contrast checker → · Palette generator →

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