#23218A#23218A

#23218A is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.166 H 273.6°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#23218A
RGBrgb(35, 33, 138)
HSLhsl(241, 61%, 34%)
HSVhsv(241, 76%, 54%)
CMYKcmyk(74.6%, 76.1%, 0%, 45.9%)
CIE-LABlab(21.13, 37.07, -57.41)
CIE-LCHlch(21.13, 68.33, 302.85°)
OKLaboklab(33.59% 0.0105 -0.1661)
OKLCHoklch(33.59% 0.166 273.6)
XYZxyz(5.8229, 3.2794, 24.3659)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23218A #888A21
analogous
#21538A #23218A #57218A
triadic
#23218A #8A2321 #218A23
tetradic
#23218A #8A2153 #888A21 #218A57
square
#23218A #8A2153 #888A21 #218A57
split-complementary
#23218A #8A5721 #538A21
monochromatic
#0A0927 #161559 #23218A #302DBB #5350D5

Accessibility & contrast

On white

12.68
#23218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#23218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23218A
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23218A#FFFFFF#000000##FFFFFF
##23218A1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#002E88
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23218a;
/* rgb */ color: rgb(35, 33, 138);
/* oklch */ color: oklch(33.6% 0.166 273.6);
Tailwind
colors: {
  custom: {
    50: '#6f5ead',
    500: '#23218a',
    950: '#000000',
  },
}
SCSS
$custom: #23218a;
$custom-light: #6f5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#23218a",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 241.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33591,
    "c": 0.1664,
    "h": 273.6
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#23218A
secondary
#B7B94E
accent
#E543E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #23218A

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

Preview Lab → · Contrast checker → · Palette generator →

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