#23316A#23316A

#23316A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.101 H 269.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#23316A
RGBrgb(35, 49, 106)
HSLhsl(228, 50%, 28%)
HSVhsv(228, 67%, 42%)
CMYKcmyk(67%, 53.8%, 0%, 58.4%)
CIE-LABlab(22.28, 14.42, -35.17)
CIE-LCHlch(22.28, 38.01, 292.29°)
OKLaboklab(33.54% -0.0003 -0.1008)
OKLCHoklch(33.54% 0.101 269.8)
XYZxyz(4.3921, 3.5942, 14.0952)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23316A #6A5C23
analogous
#23546A #23316A #38236A
triadic
#23316A #6A2331 #316A23
tetradic
#23316A #6A2354 #6A5C23 #236A38
square
#23316A #6A2354 #6A5C23 #236A38
split-complementary
#23316A #6A3823 #546A23
monochromatic
#080B17 #141C3C #23316A #324698 #465EC2

Accessibility & contrast

On white

12.22
#23316A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#23316A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23316A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23316A#FFFFFF#000000##FFFFFF
##23316A1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10396C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23316a;
/* rgb */ color: rgb(35, 49, 106);
/* oklch */ color: oklch(33.5% 0.101 269.8);
Tailwind
colors: {
  custom: {
    50: '#666895',
    500: '#23316a',
    950: '#000000',
  },
}
SCSS
$custom: #23316a;
$custom-light: #666895;
$custom-dark: #000000;
JSON
{
  "hex": "#23316a",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 228.169,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33538,
    "c": 0.10081,
    "h": 269.8
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#23316A
secondary
#9D8D4B
accent
#BE4EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #23316A

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

Preview Lab → · Contrast checker → · Palette generator →

#23316A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva