#23229C#23229C

#23229C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.188 H 272.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#23229C
RGBrgb(35, 34, 156)
HSLhsl(240, 64%, 37%)
HSVhsv(240, 78%, 61%)
CMYKcmyk(77.6%, 78.2%, 0%, 38.8%)
CIE-LABlab(23.34, 42.61, -64.89)
CIE-LCHlch(23.34, 77.63, 303.29°)
OKLaboklab(35.75% 0.0064 -0.1878)
OKLCHoklch(35.75% 0.188 272)
XYZxyz(7.2639, 3.9009, 31.8162)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23229C #9B9C22
analogous
#225E9C #23229C #60229C
triadic
#23229C #9C2322 #229C23
tetradic
#23229C #9C225E #9B9C22 #229C60
square
#23229C #9C225E #9B9C22 #229C60
split-complementary
#23229C #9C6022 #5E9C22
monochromatic
#0C0C38 #18176A #23229C #2E2DCE #5E5DDC

Accessibility & contrast

On white

11.80
#23229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#23229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23229C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23229C#FFFFFF#000000##FFFFFF
##23229C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00319A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23229c;
/* rgb */ color: rgb(35, 34, 156);
/* oklch */ color: oklch(35.7% 0.188 272.0);
Tailwind
colors: {
  custom: {
    50: '#745fba',
    500: '#23229c',
    950: '#000000',
  },
}
SCSS
$custom: #23229c;
$custom-light: #745fba;
$custom-dark: #000000;
JSON
{
  "hex": "#23229c",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 240.492,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35747,
    "c": 0.18794,
    "h": 272
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#23229C
secondary
#BFC05A
accent
#E741E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23229C

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

Preview Lab → · Contrast checker → · Palette generator →

#23229C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva