#23316C#23316C

#23316C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.104 H 270.0°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#23316C
RGBrgb(35, 49, 108)
HSLhsl(228, 51%, 28%)
HSVhsv(228, 68%, 42%)
CMYKcmyk(67.6%, 54.6%, 0%, 57.6%)
CIE-LABlab(22.43, 15.20, -36.22)
CIE-LCHlch(22.43, 39.28, 292.76°)
OKLaboklab(33.7% -0.0001 -0.1039)
OKLCHoklch(33.7% 0.104 270)
XYZxyz(4.4973, 3.6363, 14.6493)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23316C #6C5E23
analogous
#23556C #23316C #39236C
triadic
#23316C #6C2331 #316C23
tetradic
#23316C #6C2355 #6C5E23 #236C39
square
#23316C #6C2355 #6C5E23 #236C39
split-complementary
#23316C #6C3923 #556C23
monochromatic
#070A17 #141C3E #23316C #32469A #465EC3

Accessibility & contrast

On white

12.16
#23316C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23316C
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23316C#FFFFFF#000000##FFFFFF
##23316C1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D396E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23316c;
/* rgb */ color: rgb(35, 49, 108);
/* oklch */ color: oklch(33.7% 0.104 270.0);
Tailwind
colors: {
  custom: {
    50: '#676897',
    500: '#23316c',
    950: '#000000',
  },
}
SCSS
$custom: #23316c;
$custom-light: #676897;
$custom-dark: #000000;
JSON
{
  "hex": "#23316c",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 228.493,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33698,
    "c": 0.10391,
    "h": 270
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#23316C
secondary
#9F8F4B
accent
#BF4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #23316C

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

Preview Lab → · Contrast checker → · Palette generator →

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