#19238D#19238D

#19238D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.171 H 269.2°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#19238D
RGBrgb(25, 35, 141)
HSLhsl(235, 70%, 33%)
HSVhsv(235, 82%, 55%)
CMYKcmyk(82.3%, 75.2%, 0%, 44.7%)
CIE-LABlab(21.32, 36.06, -58.98)
CIE-LCHlch(21.32, 69.13, 301.44°)
OKLaboklab(33.67% -0.0023 -0.1709)
OKLCHoklch(33.67% 0.171 269.2)
XYZxyz(5.8080, 3.3311, 25.5310)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19238D #8D8319
analogous
#195D8D #19238D #49198D
triadic
#19238D #8D1923 #238D19
tetradic
#19238D #8D195D #8D8319 #198D49
square
#19238D #8D195D #8D8319 #198D49
split-complementary
#19238D #8D4919 #5D8D19
monochromatic
#070925 #101659 #19238D #2230C1 #4350DE

Accessibility & contrast

On white

12.60
#19238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#19238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19238D
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19238D#FFFFFF#000000##FFFFFF
##19238D1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #19238d;
/* rgb */ color: rgb(25, 35, 141);
/* oklch */ color: oklch(33.7% 0.171 269.2);
Tailwind
colors: {
  custom: {
    50: '#6d5faf',
    500: '#19238d',
    950: '#000000',
  },
}
SCSS
$custom: #19238d;
$custom-light: #6d5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#19238d",
  "rgb": {
    "r": 25,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 234.828,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33675,
    "c": 0.17088,
    "h": 269.2
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#19238D
secondary
#BFB443
accent
#DD3BED
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080411
muted
#7B7980

Preview Lab

Preview with #19238D

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

Preview Lab → · Contrast checker → · Palette generator →

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