#19297F#19297F

#19297F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.145 H 268.5°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#19297F
RGBrgb(25, 41, 127)
HSLhsl(231, 67%, 30%)
HSVhsv(231, 80%, 50%)
CMYKcmyk(80.3%, 67.7%, 0%, 50.2%)
CIE-LABlab(21.30, 26.87, -50.23)
CIE-LCHlch(21.30, 56.97, 298.14°)
OKLaboklab(33.22% -0.0037 -0.1454)
OKLCHoklch(33.22% 0.145 268.5)
XYZxyz(5.0233, 3.3243, 20.4515)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19297F #7F6F19
analogous
#195C7F #19297F #3C197F
triadic
#19297F #7F1929 #297F19
tetradic
#19297F #7F195C #7F6F19 #197F3C
square
#19297F #7F195C #7F6F19 #197F3C
split-complementary
#19297F #7F3C19 #5C7F19
monochromatic
#05081A #0F184C #19297F #233AB2 #3A53D8

Accessibility & contrast

On white

12.61
#19297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#19297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19297F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19297F#FFFFFF#000000##FFFFFF
##19297F1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #19297f;
/* rgb */ color: rgb(25, 41, 127);
/* oklch */ color: oklch(33.2% 0.145 268.5);
Tailwind
colors: {
  custom: {
    50: '#6862a5',
    500: '#19297f',
    950: '#000000',
  },
}
SCSS
$custom: #19297f;
$custom-light: #6862a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19297f",
  "rgb": {
    "r": 25,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 230.588,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33217,
    "c": 0.14542,
    "h": 268.5
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#19297F
secondary
#B3A141
accent
#CF3EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #19297F

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

Preview Lab → · Contrast checker → · Palette generator →

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