#23213D#23213D

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

Color values

HEX#23213D
RGBrgb(35, 33, 61)
HSLhsl(244, 30%, 18%)
HSVhsv(244, 46%, 24%)
CMYKcmyk(42.6%, 45.9%, 0%, 76.1%)
CIE-LABlab(14.30, 9.24, -17.66)
CIE-LCHlch(14.30, 19.93, 297.61°)
OKLaboklab(26.48% 0.0138 -0.0496)
OKLCHoklch(26.48% 0.052 285.6)
XYZxyz(2.0791, 1.7819, 4.6484)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23213D #3B3D21
analogous
#212D3D #23213D #31213D
triadic
#23213D #3D2321 #213D23
tetradic
#23213D #3D212D #3B3D21 #213D31
square
#23213D #3D212D #3B3D21 #213D31
split-complementary
#23213D #3D3121 #2D3D21
monochromatic
#0B0B14 #0C0C15 #23213D #3A3665 #514C8C

Accessibility & contrast

On white

15.48
#23213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23213D
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23213D#FFFFFF#000000##FFFFFF
##23213D1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18253E
Deuteranopia (green-blind)
#17233C
Tritanopia (blue-blind)
#1C262C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #23213d;
/* rgb */ color: rgb(35, 33, 61);
/* oklch */ color: oklch(26.5% 0.052 285.6);
Tailwind
colors: {
  custom: {
    50: '#5f5c72',
    500: '#23213d',
    950: '#000000',
  },
}
SCSS
$custom: #23213d;
$custom-light: #5f5c72;
$custom-dark: #000000;
JSON
{
  "hex": "#23213d",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 244.286,
    "s": 29.787,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26478,
    "c": 0.05151,
    "h": 285.6
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#23213D
secondary
#6E704A
accent
#C662BF
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040408
muted
#79797B

Preview Lab

Preview with #23213D

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

Preview Lab → · Contrast checker → · Palette generator →

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