#23229A#23229A

#23229A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.185 H 272.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#23229A
RGBrgb(35, 34, 154)
HSLhsl(241, 64%, 37%)
HSVhsv(241, 78%, 60%)
CMYKcmyk(77.3%, 77.9%, 0%, 39.6%)
CIE-LABlab(23.11, 41.94, -64.04)
CIE-LCHlch(23.11, 76.55, 303.22°)
OKLaboklab(35.52% 0.0069 -0.1854)
OKLCHoklch(35.52% 0.185 272.1)
XYZxyz(7.0959, 3.8337, 30.9316)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23229A #999A22
analogous
#225D9A #23229A #5F229A
triadic
#23229A #9A2322 #229A23
tetradic
#23229A #9A225D #999A22 #229A5F
square
#23229A #9A225D #999A22 #229A5F
split-complementary
#23229A #9A5F22 #5D9A22
monochromatic
#0C0C36 #181768 #23229A #2E2DCC #5D5BDB

Accessibility & contrast

On white

11.89
#23229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#23229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23229A
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23229A#FFFFFF#000000##FFFFFF
##23229A1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23229a;
/* rgb */ color: rgb(35, 34, 154);
/* oklch */ color: oklch(35.5% 0.185 272.1);
Tailwind
colors: {
  custom: {
    50: '#735fb9',
    500: '#23229a',
    950: '#000000',
  },
}
SCSS
$custom: #23229a;
$custom-light: #735fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#23229a",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 240.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3552,
    "c": 0.18549,
    "h": 272.1
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#23229A
secondary
#BEBF58
accent
#E741E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23229A

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

Preview Lab → · Contrast checker → · Palette generator →

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