#19125D#19125D

#19125D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.126 H 276.9°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#19125D
RGBrgb(25, 18, 93)
HSLhsl(246, 68%, 22%)
HSVhsv(246, 81%, 36%)
CMYKcmyk(73.1%, 80.6%, 0%, 63.5%)
CIE-LABlab(12.15, 29.16, -43.16)
CIE-LCHlch(12.15, 52.09, 304.05°)
OKLaboklab(25.54% 0.0151 -0.1247)
OKLCHoklch(25.54% 0.126 276.9)
XYZxyz(2.5923, 1.4294, 10.4931)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19125D #565D12
analogous
#12315D #19125D #3F125D
triadic
#19125D #5D1912 #125D19
tetradic
#19125D #5D1231 #565D12 #125D3F
square
#19125D #5D1231 #565D12 #125D3F
split-complementary
#19125D #5D3F12 #315D12
monochromatic
#07051A #0B082A #19125D #271C90 #3526C4

Accessibility & contrast

On white

16.33
#19125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#19125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19125D
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19125D#FFFFFF#000000##FFFFFF
##19125D1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #19125d;
/* rgb */ color: rgb(25, 18, 93);
/* oklch */ color: oklch(25.5% 0.126 276.9);
Tailwind
colors: {
  custom: {
    50: '#62518c',
    500: '#19125d',
    950: '#000000',
  },
}
SCSS
$custom: #19125d;
$custom-light: #62518c;
$custom-dark: #000000;
JSON
{
  "hex": "#19125d",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 245.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25537,
    "c": 0.12561,
    "h": 276.9
  },
  "luminance": 0.0143
}

Semantic roles & 50–950 ramp

primary
#19125D
secondary
#8C9535
accent
#EA3DDA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #19125D

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

Preview Lab → · Contrast checker → · Palette generator →

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