#23213E#23213E

#23213E is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.5% C 0.053 H 285.3°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#23213E
RGBrgb(35, 33, 62)
HSLhsl(244, 31%, 19%)
HSVhsv(244, 47%, 24%)
CMYKcmyk(43.5%, 46.8%, 0%, 75.7%)
CIE-LABlab(14.36, 9.58, -18.27)
CIE-LCHlch(14.36, 20.63, 297.68°)
OKLaboklab(26.55% 0.0141 -0.0514)
OKLCHoklch(26.55% 0.053 285.3)
XYZxyz(2.1063, 1.7928, 4.7916)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23213E #3C3E21
analogous
#212D3E #23213E #31213E
triadic
#23213E #3E2321 #213E23
tetradic
#23213E #3E212D #3C3E21 #213E31
square
#23213E #3E212D #3C3E21 #213E31
split-complementary
#23213E #3E3121 #2D3E21
monochromatic
#0B0B14 #0C0C16 #23213E #3A3666 #504C8E

Accessibility & contrast

On white

15.46
#23213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#23213E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23213E
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23213E#FFFFFF#000000##FFFFFF
##23213E1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253F
Deuteranopia (green-blind)
#16233D
Tritanopia (blue-blind)
#1C272C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #23213e;
/* rgb */ color: rgb(35, 33, 62);
/* oklch */ color: oklch(26.5% 0.053 285.3);
Tailwind
colors: {
  custom: {
    50: '#5f5c73',
    500: '#23213e',
    950: '#000000',
  },
}
SCSS
$custom: #23213e;
$custom-light: #5f5c73;
$custom-dark: #000000;
JSON
{
  "hex": "#23213e",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 244.138,
    "s": 30.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26545,
    "c": 0.05327,
    "h": 285.3
  },
  "luminance": 0.01793
}

Semantic roles & 50–950 ramp

primary
#23213E
secondary
#6F7149
accent
#C761C0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050408
muted
#79797B

Preview Lab

Preview with #23213E

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

Preview Lab → · Contrast checker → · Palette generator →

#23213E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva