#23318E#23318E

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

Color values

HEX#23318E
RGBrgb(35, 49, 142)
HSLhsl(232, 60%, 35%)
HSVhsv(232, 75%, 56%)
CMYKcmyk(75.4%, 65.5%, 0%, 44.3%)
CIE-LABlab(25.28, 28.33, -53.07)
CIE-LCHlch(25.28, 60.16, 298.10°)
OKLaboklab(36.71% 0.0005 -0.1534)
OKLCHoklch(36.71% 0.153 270.2)
XYZxyz(6.6723, 4.5062, 26.1041)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23318E #8E8023
analogous
#23668E #23318E #4B238E
triadic
#23318E #8E2331 #318E23
tetradic
#23318E #8E2366 #8E8023 #238E4B
square
#23318E #8E2366 #8E8023 #238E4B
split-complementary
#23318E #8E4B23 #668E23
monochromatic
#0B0F2C #17205D #23318E #2F42BF #5667D5

Accessibility & contrast

On white

11.04
#23318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23318E
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23318E#FFFFFF#000000##FFFFFF
##23318E1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23318e;
/* rgb */ color: rgb(35, 49, 142);
/* oklch */ color: oklch(36.7% 0.153 270.2);
Tailwind
colors: {
  custom: {
    50: '#6f69b0',
    500: '#23318e',
    950: '#000000',
  },
}
SCSS
$custom: #23318e;
$custom-light: #6f69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23318e",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 232.15,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3671,
    "c": 0.15341,
    "h": 270.2
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#23318E
secondary
#B9AC53
accent
#CF44E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #23318E

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

Preview Lab → · Contrast checker → · Palette generator →

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