#1A197D#1A197D

#1A197D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.160 H 272.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#1A197D
RGBrgb(26, 25, 125)
HSLhsl(241, 67%, 29%)
HSVhsv(241, 80%, 49%)
CMYKcmyk(79.2%, 80%, 0%, 51%)
CIE-LABlab(17.44, 36.41, -55.32)
CIE-LCHlch(17.44, 66.23, 303.35°)
OKLaboklab(30.39% 0.0055 -0.1601)
OKLCHoklch(30.39% 0.16 272)
XYZxyz(4.4741, 2.3951, 19.6246)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A197D #7C7D19
analogous
#194A7D #1A197D #4C197D
triadic
#1A197D #7D1A19 #197D1A
tetradic
#1A197D #7D194A #7C7D19 #197D4C
square
#1A197D #7D194A #7C7D19 #197D4C
split-complementary
#1A197D #7D4C19 #4A7D19
monochromatic
#05051A #0F0F4A #1A197D #2523B0 #3B39D7

Accessibility & contrast

On white

14.20
#1A197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1A197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A197D
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A197D#FFFFFF#000000##FFFFFF
##1A197D1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a197d;
/* rgb */ color: rgb(26, 25, 125);
/* oklch */ color: oklch(30.4% 0.160 272.0);
Tailwind
colors: {
  custom: {
    50: '#6a58a4',
    500: '#1a197d',
    950: '#000000',
  },
}
SCSS
$custom: #1a197d;
$custom-light: #6a58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a197d",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 240.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30392,
    "c": 0.16023,
    "h": 272
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#1A197D
secondary
#B0B140
accent
#EA3EE8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1A197D

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

Preview Lab → · Contrast checker → · Palette generator →

#1A197D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva