#23318B#23318B

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

Color values

HEX#23318B
RGBrgb(35, 49, 139)
HSLhsl(232, 60%, 34%)
HSVhsv(232, 75%, 55%)
CMYKcmyk(74.8%, 64.7%, 0%, 45.5%)
CIE-LABlab(25.01, 27.20, -51.66)
CIE-LCHlch(25.01, 58.38, 297.76°)
OKLaboklab(36.43% 0.0006 -0.1493)
OKLCHoklch(36.43% 0.149 270.2)
XYZxyz(6.4501, 4.4174, 24.9338)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23318B #8B7D23
analogous
#23658B #23318B #49238B
triadic
#23318B #8B2331 #318B23
tetradic
#23318B #8B2365 #8B7D23 #238B49
square
#23318B #8B2365 #8B7D23 #238B49
split-complementary
#23318B #8B4923 #658B23
monochromatic
#0A0F29 #17205A #23318B #2F42BC #5466D4

Accessibility & contrast

On white

11.15
#23318B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23318B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23318B#FFFFFF#000000##FFFFFF
##23318B1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23318b;
/* rgb */ color: rgb(35, 49, 139);
/* oklch */ color: oklch(36.4% 0.149 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e69ae',
    500: '#23318b',
    950: '#000000',
  },
}
SCSS
$custom: #23318b;
$custom-light: #6e69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23318b",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 231.923,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36425,
    "c": 0.14927,
    "h": 270.2
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23318B

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

Preview Lab → · Contrast checker → · Palette generator →

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