#23189E#23189E

#23189E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.199 H 272.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#23189E
RGBrgb(35, 24, 158)
HSLhsl(245, 74%, 36%)
HSVhsv(245, 85%, 62%)
CMYKcmyk(77.8%, 84.8%, 0%, 38%)
CIE-LABlab(21.87, 48.24, -68.56)
CIE-LCHlch(21.87, 83.83, 305.13°)
OKLaboklab(34.79% 0.0091 -0.1983)
OKLCHoklch(34.79% 0.199 272.6)
XYZxyz(7.1893, 3.4784, 32.6336)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23189E #939E18
analogous
#18509E #23189E #66189E
triadic
#23189E #9E2318 #189E23
tetradic
#23189E #9E1850 #939E18 #189E66
square
#23189E #9E1850 #939E18 #189E66
split-complementary
#23189E #9E6618 #509E18
monochromatic
#0B0834 #171069 #23189E #2F20D3 #594DE4

Accessibility & contrast

On white

12.38
#23189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23189E
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23189E#FFFFFF#000000##FFFFFF
##23189E1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23189e;
/* rgb */ color: rgb(35, 24, 158);
/* oklch */ color: oklch(34.8% 0.199 272.6);
Tailwind
colors: {
  custom: {
    50: '#755abc',
    500: '#23189e',
    950: '#000000',
  },
}
SCSS
$custom: #23189e;
$custom-light: #755abc;
$custom-dark: #000000;
JSON
{
  "hex": "#23189e",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 244.925,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34789,
    "c": 0.19851,
    "h": 272.6
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#23189E
secondary
#BCC64C
accent
#F038E1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #23189E

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

Preview Lab → · Contrast checker → · Palette generator →

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