#23189F#23189F

#23189F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.200 H 272.5°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#23189F
RGBrgb(35, 24, 159)
HSLhsl(245, 74%, 36%)
HSVhsv(245, 85%, 62%)
CMYKcmyk(78%, 84.9%, 0%, 37.6%)
CIE-LABlab(21.99, 48.54, -68.96)
CIE-LCHlch(21.99, 84.33, 305.14°)
OKLaboklab(34.91% 0.0088 -0.1995)
OKLCHoklch(34.91% 0.2 272.5)
XYZxyz(7.2757, 3.5130, 33.0888)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23189F #949F18
analogous
#18509F #23189F #66189F
triadic
#23189F #9F2318 #189F23
tetradic
#23189F #9F1850 #949F18 #189F66
square
#23189F #9F1850 #949F18 #189F66
split-complementary
#23189F #9F6618 #509F18
monochromatic
#0C0835 #17106A #23189F #2F20D4 #5A4DE4

Accessibility & contrast

On white

12.33
#23189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#23189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23189F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23189F#FFFFFF#000000##FFFFFF
##23189F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23189f;
/* rgb */ color: rgb(35, 24, 159);
/* oklch */ color: oklch(34.9% 0.200 272.5);
Tailwind
colors: {
  custom: {
    50: '#765abd',
    500: '#23189f',
    950: '#000000',
  },
}
SCSS
$custom: #23189f;
$custom-light: #765abd;
$custom-dark: #000000;
JSON
{
  "hex": "#23189f",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 244.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34911,
    "c": 0.19966,
    "h": 272.5
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#23189F
secondary
#BCC64D
accent
#F037E1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #23189F

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

Preview Lab → · Contrast checker → · Palette generator →

#23189F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva