#23229F#23229F

#23229F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.192 H 271.7°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#23229F
RGBrgb(35, 34, 159)
HSLhsl(240, 65%, 38%)
HSVhsv(240, 79%, 62%)
CMYKcmyk(78%, 78.6%, 0%, 37.6%)
CIE-LABlab(23.68, 43.61, -66.15)
CIE-LCHlch(23.68, 79.23, 303.39°)
OKLaboklab(36.09% 0.0058 -0.1915)
OKLCHoklch(36.09% 0.192 271.7)
XYZxyz(7.5211, 4.0038, 33.1706)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23229F #9E9F22
analogous
#225F9F #23229F #61229F
triadic
#23229F #9F2322 #229F23
tetradic
#23229F #9F225F #9E9F22 #229F61
square
#23229F #9F225F #9E9F22 #229F61
split-complementary
#23229F #9F6122 #5F9F22
monochromatic
#0D0C3A #18176D #23229F #2E2DD1 #605FDD

Accessibility & contrast

On white

11.66
#23229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#23229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23229F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23229F#FFFFFF#000000##FFFFFF
##23229F1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23229f;
/* rgb */ color: rgb(35, 34, 159);
/* oklch */ color: oklch(36.1% 0.192 271.7);
Tailwind
colors: {
  custom: {
    50: '#7560bd',
    500: '#23229f',
    950: '#000000',
  },
}
SCSS
$custom: #23229f;
$custom-light: #7560bd;
$custom-dark: #000000;
JSON
{
  "hex": "#23229f",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 240.48,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36088,
    "c": 0.19159,
    "h": 271.7
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#23229F
secondary
#C1C15B
accent
#E840E6
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23229F

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

Preview Lab → · Contrast checker → · Palette generator →

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