#1A198C#1A198C

#1A198C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.179 H 270.7°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#1A198C
RGBrgb(26, 25, 140)
HSLhsl(241, 70%, 32%)
HSVhsv(241, 82%, 55%)
CMYKcmyk(81.4%, 82.1%, 0%, 45.1%)
CIE-LABlab(19.26, 41.49, -61.77)
CIE-LCHlch(19.26, 74.42, 303.89°)
OKLaboklab(32.2% 0.0022 -0.1788)
OKLCHoklch(32.2% 0.179 270.7)
XYZxyz(5.5057, 2.8077, 25.0576)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A198C #8B8C19
analogous
#19518C #1A198C #54198C
triadic
#1A198C #8C1A19 #198C1A
tetradic
#1A198C #8C1951 #8B8C19 #198C54
square
#1A198C #8C1951 #8B8C19 #198C54
split-complementary
#1A198C #8C5419 #518C19
monochromatic
#070624 #101058 #1A198C #2422C0 #4342DD

Accessibility & contrast

On white

13.45
#1A198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A198C
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A198C#FFFFFF#000000##FFFFFF
##1A198C1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00298A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a198c;
/* rgb */ color: rgb(26, 25, 140);
/* oklch */ color: oklch(32.2% 0.179 270.7);
Tailwind
colors: {
  custom: {
    50: '#6e59af',
    500: '#1a198c',
    950: '#000000',
  },
}
SCSS
$custom: #1a198c;
$custom-light: #6e59af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a198c",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 240.522,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32195,
    "c": 0.17886,
    "h": 270.7
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#1A198C
secondary
#BDBE43
accent
#ED3BEB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A198C

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

Preview Lab → · Contrast checker → · Palette generator →

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