#19125F#19125F

#19125F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.128 H 276.5°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#19125F
RGBrgb(25, 18, 95)
HSLhsl(245, 68%, 22%)
HSVhsv(245, 81%, 37%)
CMYKcmyk(73.7%, 81.1%, 0%, 62.7%)
CIE-LABlab(12.39, 29.87, -44.11)
CIE-LCHlch(12.39, 53.27, 304.11°)
OKLaboklab(25.77% 0.0145 -0.1275)
OKLCHoklch(25.77% 0.128 276.5)
XYZxyz(2.6821, 1.4653, 10.9657)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19125F #585F12
analogous
#12315F #19125F #40125F
triadic
#19125F #5F1912 #125F19
tetradic
#19125F #5F1231 #585F12 #125F40
square
#19125F #5F1231 #585F12 #125F40
split-complementary
#19125F #5F4012 #315F12
monochromatic
#07051A #0B082C #19125F #271C92 #3425C6

Accessibility & contrast

On white

16.24
#19125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19125F
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19125F#FFFFFF#000000##FFFFFF
##19125F1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #19125f;
/* rgb */ color: rgb(25, 18, 95);
/* oklch */ color: oklch(25.8% 0.128 276.5);
Tailwind
colors: {
  custom: {
    50: '#62518d',
    500: '#19125f',
    950: '#000000',
  },
}
SCSS
$custom: #19125f;
$custom-light: #62518d;
$custom-dark: #000000;
JSON
{
  "hex": "#19125f",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 245.455,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25772,
    "c": 0.12832,
    "h": 276.5
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#19125F
secondary
#8E9736
accent
#EB3DDB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #19125F

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

Preview Lab → · Contrast checker → · Palette generator →

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