#23206C#23206C

#23206C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.127 H 277.3°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#23206C
RGBrgb(35, 32, 108)
HSLhsl(242, 54%, 27%)
HSVhsv(242, 70%, 42%)
CMYKcmyk(67.6%, 70.4%, 0%, 57.6%)
CIE-LABlab(17.79, 27.02, -43.76)
CIE-LCHlch(17.79, 51.43, 301.69°)
OKLaboklab(30.26% 0.0163 -0.1262)
OKLCHoklch(30.26% 0.127 277.3)
XYZxyz(3.9155, 2.4727, 14.4554)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23206C #696C20
analogous
#20436C #23206C #49206C
triadic
#23206C #6C2320 #206C23
tetradic
#23206C #6C2043 #696C20 #206C49
square
#23206C #6C2043 #696C20 #206C49
split-complementary
#23206C #6C4920 #436C20
monochromatic
#080718 #14123D #23206C #322E9B #4540C6

Accessibility & contrast

On white

14.05
#23206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#23206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23206C
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23206C#FFFFFF#000000##FFFFFF
##23206C1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00286B
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #23206c;
/* rgb */ color: rgb(35, 32, 108);
/* oklch */ color: oklch(30.3% 0.127 277.3);
Tailwind
colors: {
  custom: {
    50: '#685c97',
    500: '#23206c',
    950: '#000000',
  },
}
SCSS
$custom: #23206c;
$custom-light: #685c97;
$custom-dark: #000000;
JSON
{
  "hex": "#23206c",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 242.368,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30264,
    "c": 0.12726,
    "h": 277.3
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#23206C
secondary
#9CA048
accent
#DE4AD8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #23206C

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

Preview Lab → · Contrast checker → · Palette generator →

#23206C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva