#23215E#23215E

#23215E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.105 H 279.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#23215E
RGBrgb(35, 33, 94)
HSLhsl(242, 48%, 25%)
HSVhsv(242, 65%, 37%)
CMYKcmyk(62.8%, 64.9%, 0%, 63.1%)
CIE-LABlab(16.76, 21.18, -36.24)
CIE-LCHlch(16.76, 41.97, 300.31°)
OKLaboklab(29.11% 0.0166 -0.1041)
OKLCHoklch(29.11% 0.105 279.1)
XYZxyz(3.2567, 2.2530, 10.8508)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23215E #5C5E21
analogous
#213E5E #23215E #41215E
triadic
#23215E #5E2321 #215E23
tetradic
#23215E #5E213E #5C5E21 #215E41
square
#23215E #5E213E #5C5E21 #215E41
split-complementary
#23215E #5E4121 #3E5E21
monochromatic
#080817 #121131 #23215E #34318B #4541B9

Accessibility & contrast

On white

14.48
#23215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#23215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23215E
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23215E#FFFFFF#000000##FFFFFF
##23215E1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #23215e;
/* rgb */ color: rgb(35, 33, 94);
/* oklch */ color: oklch(29.1% 0.105 279.1);
Tailwind
colors: {
  custom: {
    50: '#655c8c',
    500: '#23215e',
    950: '#000000',
  },
}
SCSS
$custom: #23215e;
$custom-light: #655c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#23215e",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 241.967,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.2911,
    "c": 0.10544,
    "h": 279.1
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#23215E
secondary
#909249
accent
#D850D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #23215E

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

Preview Lab → · Contrast checker → · Palette generator →

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