#23316B#23316B

#23316B is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.102 H 269.9°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#23316B
RGBrgb(35, 49, 107)
HSLhsl(228, 51%, 28%)
HSVhsv(228, 67%, 42%)
CMYKcmyk(67.3%, 54.2%, 0%, 58%)
CIE-LABlab(22.36, 14.81, -35.70)
CIE-LCHlch(22.36, 38.65, 292.53°)
OKLaboklab(33.62% -0.0002 -0.1024)
OKLCHoklch(33.62% 0.102 269.9)
XYZxyz(4.4444, 3.6151, 14.3706)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23316B #6B5D23
analogous
#23556B #23316B #39236B
triadic
#23316B #6B2331 #316B23
tetradic
#23316B #6B2355 #6B5D23 #236B39
square
#23316B #6B2355 #6B5D23 #236B39
split-complementary
#23316B #6B3923 #556B23
monochromatic
#080B17 #141C3D #23316B #324699 #465EC2

Accessibility & contrast

On white

12.19
#23316B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23316B
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23316B#FFFFFF#000000##FFFFFF
##23316B1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F396D
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23316b;
/* rgb */ color: rgb(35, 49, 107);
/* oklch */ color: oklch(33.6% 0.102 269.9);
Tailwind
colors: {
  custom: {
    50: '#676896',
    500: '#23316b',
    950: '#000000',
  },
}
SCSS
$custom: #23316b;
$custom-light: #676896;
$custom-dark: #000000;
JSON
{
  "hex": "#23316b",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 228.333,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33618,
    "c": 0.10236,
    "h": 269.9
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#23316B
secondary
#9E8E4B
accent
#BF4EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #23316B

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

Preview Lab → · Contrast checker → · Palette generator →

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