#2322AA#2322AA

#2322AA is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.4% C 0.205 H 271.0°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2322AA
RGBrgb(35, 34, 170)
HSLhsl(240, 67%, 40%)
HSVhsv(240, 80%, 67%)
CMYKcmyk(79.4%, 80%, 0%, 33.3%)
CIE-LABlab(24.96, 47.20, -70.71)
CIE-LCHlch(24.96, 85.02, 303.73°)
OKLaboklab(37.35% 0.0035 -0.2047)
OKLCHoklch(37.35% 0.205 271)
XYZxyz(8.5184, 4.4027, 38.4233)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2322AA #A9AA22
analogous
#2265AA #2322AA #6722AA
triadic
#2322AA #AA2322 #22AA23
tetradic
#2322AA #AA2265 #A9AA22 #22AA67
square
#2322AA #AA2265 #A9AA22 #22AA67
split-complementary
#2322AA #AA6722 #65AA22
monochromatic
#0E0E44 #181877 #2322AA #3433D6 #6766E0

Accessibility & contrast

On white

11.17
#2322AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2322AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2322AA#FFFFFF#000000##FFFFFF
##2322AA1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0034A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2322aa;
/* rgb */ color: rgb(35, 34, 170);
/* oklch */ color: oklch(37.4% 0.205 271.0);
Tailwind
colors: {
  custom: {
    50: '#7760c5',
    500: '#2322aa',
    950: '#000000',
  },
}
SCSS
$custom: #2322aa;
$custom-light: #7760c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2322aa",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 240.441,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.37354,
    "c": 0.20475,
    "h": 271
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#2322AA
secondary
#C5C662
accent
#EA3EE8
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2322AA

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

Preview Lab → · Contrast checker → · Palette generator →

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