#23316D#23316D

#23316D is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.105 H 270.0°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#23316D
RGBrgb(35, 49, 109)
HSLhsl(229, 51%, 28%)
HSVhsv(229, 68%, 43%)
CMYKcmyk(67.9%, 55%, 0%, 57.3%)
CIE-LABlab(22.51, 15.59, -36.75)
CIE-LCHlch(22.51, 39.91, 292.98°)
OKLaboklab(33.78% 0 -0.1054)
OKLCHoklch(33.78% 0.105 270)
XYZxyz(4.5508, 3.6577, 14.9312)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23316D #6D5F23
analogous
#23566D #23316D #3A236D
triadic
#23316D #6D2331 #316D23
tetradic
#23316D #6D2356 #6D5F23 #236D3A
square
#23316D #6D2356 #6D5F23 #236D3A
split-complementary
#23316D #6D3A23 #566D23
monochromatic
#070A17 #141C3F #23316D #32469B #475EC4

Accessibility & contrast

On white

12.13
#23316D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#23316D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23316D
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23316D#FFFFFF#000000##FFFFFF
##23316D1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C396F
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23316d;
/* rgb */ color: rgb(35, 49, 109);
/* oklch */ color: oklch(33.8% 0.105 270.0);
Tailwind
colors: {
  custom: {
    50: '#676897',
    500: '#23316d',
    950: '#000000',
  },
}
SCSS
$custom: #23316d;
$custom-light: #676897;
$custom-dark: #000000;
JSON
{
  "hex": "#23316d",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 228.649,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33779,
    "c": 0.10545,
    "h": 270
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#23316D
secondary
#A0904B
accent
#C04DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #23316D

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

Preview Lab → · Contrast checker → · Palette generator →

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