#19238C#19238C

#19238C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.170 H 269.3°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#19238C
RGBrgb(25, 35, 140)
HSLhsl(235, 70%, 32%)
HSVhsv(235, 82%, 55%)
CMYKcmyk(82.1%, 75%, 0%, 45.1%)
CIE-LABlab(21.21, 35.70, -58.54)
CIE-LCHlch(21.21, 68.56, 301.38°)
OKLaboklab(33.56% -0.0021 -0.1696)
OKLCHoklch(33.56% 0.17 269.3)
XYZxyz(5.7339, 3.3015, 25.1409)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19238C #8C8219
analogous
#195C8C #19238C #49198C
triadic
#19238C #8C1923 #238C19
tetradic
#19238C #8C195C #8C8219 #198C49
square
#19238C #8C195C #8C8219 #198C49
split-complementary
#19238C #8C4919 #5C8C19
monochromatic
#060924 #101658 #19238C #2230C0 #4250DD

Accessibility & contrast

On white

12.65
#19238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#19238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19238C
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19238C#FFFFFF#000000##FFFFFF
##19238C1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#002D8A
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #19238c;
/* rgb */ color: rgb(25, 35, 140);
/* oklch */ color: oklch(33.6% 0.170 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d5faf',
    500: '#19238c',
    950: '#000000',
  },
}
SCSS
$custom: #19238c;
$custom-light: #6d5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#19238c",
  "rgb": {
    "r": 25,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 234.783,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33563,
    "c": 0.1696,
    "h": 269.3
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#19238C
secondary
#BEB343
accent
#DD3BED
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F

Preview Lab

Preview with #19238C

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

Preview Lab → · Contrast checker → · Palette generator →

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