#23318D#23318D

#23318D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.152 H 270.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#23318D
RGBrgb(35, 49, 141)
HSLhsl(232, 60%, 35%)
HSVhsv(232, 75%, 55%)
CMYKcmyk(75.2%, 65.2%, 0%, 44.7%)
CIE-LABlab(25.19, 27.95, -52.60)
CIE-LCHlch(25.19, 59.57, 297.99°)
OKLaboklab(36.61% 0.0005 -0.152)
OKLCHoklch(36.61% 0.152 270.2)
XYZxyz(6.5975, 4.4763, 25.7105)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23318D #8D7F23
analogous
#23668D #23318D #4A238D
triadic
#23318D #8D2331 #318D23
tetradic
#23318D #8D2366 #8D7F23 #238D4A
square
#23318D #8D2366 #8D7F23 #238D4A
split-complementary
#23318D #8D4A23 #668D23
monochromatic
#0B0F2B #17205C #23318D #2F42BE #5566D5

Accessibility & contrast

On white

11.08
#23318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#23318D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23318D
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23318D#FFFFFF#000000##FFFFFF
##23318D1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #23318d;
/* rgb */ color: rgb(35, 49, 141);
/* oklch */ color: oklch(36.6% 0.152 270.2);
Tailwind
colors: {
  custom: {
    50: '#6f69af',
    500: '#23318d',
    950: '#000000',
  },
}
SCSS
$custom: #23318d;
$custom-light: #6f69af;
$custom-dark: #000000;
JSON
{
  "hex": "#23318d",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 232.075,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36615,
    "c": 0.15204,
    "h": 270.2
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#23318D
secondary
#B9AB53
accent
#CE44E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #23318D

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

Preview Lab → · Contrast checker → · Palette generator →

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