#23218D#23218D

#23218D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.170 H 273.3°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#23218D
RGBrgb(35, 33, 141)
HSLhsl(241, 62%, 34%)
HSVhsv(241, 77%, 55%)
CMYKcmyk(75.2%, 76.6%, 0%, 44.7%)
CIE-LABlab(21.46, 38.10, -58.74)
CIE-LCHlch(21.46, 70.01, 302.97°)
OKLaboklab(33.92% 0.0099 -0.1699)
OKLCHoklch(33.92% 0.17 273.3)
XYZxyz(6.0431, 3.3675, 25.5257)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23218D #8B8D21
analogous
#21558D #23218D #59218D
triadic
#23218D #8D2321 #218D23
tetradic
#23218D #8D2155 #8B8D21 #218D59
square
#23218D #8D2155 #8B8D21 #218D59
split-complementary
#23218D #8D5921 #558D21
monochromatic
#0A0A2A #17155B #23218D #2F2DBF #5452D6

Accessibility & contrast

On white

12.55
#23218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#23218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23218D
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23218D#FFFFFF#000000##FFFFFF
##23218D1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23218d;
/* rgb */ color: rgb(35, 33, 141);
/* oklch */ color: oklch(33.9% 0.170 273.3);
Tailwind
colors: {
  custom: {
    50: '#705eaf',
    500: '#23218d',
    950: '#000000',
  },
}
SCSS
$custom: #23218d;
$custom-light: #705eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#23218d",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 241.111,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33923,
    "c": 0.17023,
    "h": 273.3
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

primary
#23218D
secondary
#B8BA50
accent
#E543E2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #23218D

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

Preview Lab → · Contrast checker → · Palette generator →

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