#23188E#23188E

#23188E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.180 H 274.3°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#23188E
RGBrgb(35, 24, 142)
HSLhsl(246, 71%, 33%)
HSVhsv(246, 83%, 56%)
CMYKcmyk(75.4%, 83.1%, 0%, 44.3%)
CIE-LABlab(19.90, 43.26, -61.95)
CIE-LCHlch(19.90, 75.56, 304.93°)
OKLaboklab(32.86% 0.0134 -0.1791)
OKLCHoklch(32.86% 0.18 274.3)
XYZxyz(5.9006, 2.9630, 25.8469)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23188E #838E18
analogous
#18488E #23188E #5E188E
triadic
#23188E #8E2318 #188E23
tetradic
#23188E #8E1848 #838E18 #188E5E
square
#23188E #8E1848 #838E18 #188E5E
split-complementary
#23188E #8E5E18 #488E18
monochromatic
#090625 #160F5A #23188E #3021C2 #5041DF

Accessibility & contrast

On white

13.18
#23188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#23188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23188E
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23188E#FFFFFF#000000##FFFFFF
##23188E1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23188e;
/* rgb */ color: rgb(35, 24, 142);
/* oklch */ color: oklch(32.9% 0.180 274.3);
Tailwind
colors: {
  custom: {
    50: '#7159b0',
    500: '#23188e',
    950: '#000000',
  },
}
SCSS
$custom: #23188e;
$custom-light: #7159b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23188e",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 245.593,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32861,
    "c": 0.17965,
    "h": 274.3
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#23188E
secondary
#B4C042
accent
#EE3ADD
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #23188E

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

Preview Lab → · Contrast checker → · Palette generator →

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