#2322BA#2322BA

#2322BA is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.2% C 0.223 H 270.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2322BA
RGBrgb(35, 34, 186)
HSLhsl(240, 69%, 43%)
HSVhsv(240, 82%, 73%)
CMYKcmyk(81.2%, 81.7%, 0%, 27.1%)
CIE-LABlab(26.86, 52.27, -77.12)
CIE-LCHlch(26.86, 93.17, 304.12°)
OKLaboklab(39.23% 0.0002 -0.2233)
OKLCHoklch(39.23% 0.223 270)
XYZxyz(10.1251, 5.0454, 46.8851)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2322BA #B9BA22
analogous
#226DBA #2322BA #6F22BA
triadic
#2322BA #BA2322 #22BA23
tetradic
#2322BA #BA226D #B9BA22 #22BA6F
square
#2322BA #BA226D #B9BA22 #22BA6F
split-complementary
#2322BA #BA6F22 #6DBA22
monochromatic
#100F53 #191986 #2322BA #3F3EDC #7271E5

Accessibility & contrast

On white

10.45
#2322BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2322BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2322BA#FFFFFF#000000##FFFFFF
##2322BA1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BE
Deuteranopia (green-blind)
#0037B7
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2322ba;
/* rgb */ color: rgb(35, 34, 186);
/* oklch */ color: oklch(39.2% 0.223 270.0);
Tailwind
colors: {
  custom: {
    50: '#7c61d0',
    500: '#2322ba',
    950: '#000000',
  },
}
SCSS
$custom: #2322ba;
$custom-light: #7c61d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2322ba",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 186
  },
  "hsl": {
    "h": 240.395,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.22329,
    "h": 270
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#2322BA
secondary
#CBCC6C
accent
#EC3CEB
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2322BA

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

Preview Lab → · Contrast checker → · Palette generator →

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