#19238F#19238F

#19238F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.173 H 269.2°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#19238F
RGBrgb(25, 35, 143)
HSLhsl(235, 70%, 33%)
HSVhsv(235, 83%, 56%)
CMYKcmyk(82.5%, 75.5%, 0%, 43.9%)
CIE-LABlab(21.55, 36.78, -59.85)
CIE-LCHlch(21.55, 70.25, 301.57°)
OKLaboklab(33.9% -0.0026 -0.1734)
OKLCHoklch(33.9% 0.173 269.2)
XYZxyz(5.9582, 3.3912, 26.3218)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19238F #8F8519
analogous
#195E8F #19238F #4A198F
triadic
#19238F #8F1923 #238F19
tetradic
#19238F #8F195E #8F8519 #198F4A
square
#19238F #8F195E #8F8519 #198F4A
split-complementary
#19238F #8F4A19 #5E8F19
monochromatic
#070927 #10165B #19238F #2230C3 #4451DE

Accessibility & contrast

On white

12.51
#19238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#19238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19238F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19238F#FFFFFF#000000##FFFFFF
##19238F1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #19238f;
/* rgb */ color: rgb(25, 35, 143);
/* oklch */ color: oklch(33.9% 0.173 269.2);
Tailwind
colors: {
  custom: {
    50: '#6d5fb1',
    500: '#19238f',
    950: '#000000',
  },
}
SCSS
$custom: #19238f;
$custom-light: #6d5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#19238f",
  "rgb": {
    "r": 25,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 234.915,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.339,
    "c": 0.17344,
    "h": 269.2
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#19238F
secondary
#BFB544
accent
#DE3BED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #19238F

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

Preview Lab → · Contrast checker → · Palette generator →

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