#23318C#23318C

#23318C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.151 H 270.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#23318C
RGBrgb(35, 49, 140)
HSLhsl(232, 60%, 34%)
HSVhsv(232, 75%, 55%)
CMYKcmyk(75%, 65%, 0%, 45.1%)
CIE-LABlab(25.10, 27.58, -52.13)
CIE-LCHlch(25.10, 58.98, 297.88°)
OKLaboklab(36.52% 0.0005 -0.1506)
OKLCHoklch(36.52% 0.151 270.2)
XYZxyz(6.5235, 4.4467, 25.3204)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23318C #8C7E23
analogous
#23668C #23318C #4A238C
triadic
#23318C #8C2331 #318C23
tetradic
#23318C #8C2366 #8C7E23 #238C4A
square
#23318C #8C2366 #8C7E23 #238C4A
split-complementary
#23318C #8C4A23 #668C23
monochromatic
#0B0F2A #17205B #23318C #2F42BD #5566D4

Accessibility & contrast

On white

11.11
#23318C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#23318C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23318C
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23318C#FFFFFF#000000##FFFFFF
##23318C1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #23318c;
/* rgb */ color: rgb(35, 49, 140);
/* oklch */ color: oklch(36.5% 0.151 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e69ae',
    500: '#23318c',
    950: '#000000',
  },
}
SCSS
$custom: #23318c;
$custom-light: #6e69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23318c",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 232,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3652,
    "c": 0.15065,
    "h": 270.2
  },
  "luminance": 0.04447
}

Semantic roles & 50–950 ramp

primary
#23318C
secondary
#B8AB52
accent
#CE45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #23318C

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

Preview Lab → · Contrast checker → · Palette generator →

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