#23318A#23318A

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

Color values

HEX#23318A
RGBrgb(35, 49, 138)
HSLhsl(232, 60%, 34%)
HSVhsv(232, 75%, 54%)
CMYKcmyk(74.6%, 64.5%, 0%, 45.9%)
CIE-LABlab(24.92, 26.81, -51.19)
CIE-LCHlch(24.92, 57.78, 297.65°)
OKLaboklab(36.33% 0.0006 -0.1479)
OKLCHoklch(36.33% 0.148 270.2)
XYZxyz(6.3773, 4.3883, 24.5508)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23318A #8A7C23
analogous
#23658A #23318A #49238A
triadic
#23318A #8A2331 #318A23
tetradic
#23318A #8A2365 #8A7C23 #238A49
square
#23318A #8A2365 #8A7C23 #238A49
split-complementary
#23318A #8A4923 #658A23
monochromatic
#0A0E28 #172059 #23318A #2F42BB #5465D4

Accessibility & contrast

On white

11.18
#23318A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#23318A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23318A
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23318A#FFFFFF#000000##FFFFFF
##23318A1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23318a;
/* rgb */ color: rgb(35, 49, 138);
/* oklch */ color: oklch(36.3% 0.148 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e69ad',
    500: '#23318a',
    950: '#000000',
  },
}
SCSS
$custom: #23318a;
$custom-light: #6e69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23318a",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 231.845,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36331,
    "c": 0.14788,
    "h": 270.2
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#23318A
secondary
#B7AA51
accent
#CD45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #23318A

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

Preview Lab → · Contrast checker → · Palette generator →

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