#1A198F#1A198F

#1A198F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.182 H 270.5°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#1A198F
RGBrgb(26, 25, 143)
HSLhsl(241, 70%, 33%)
HSVhsv(241, 83%, 56%)
CMYKcmyk(81.8%, 82.5%, 0%, 43.9%)
CIE-LABlab(19.63, 42.48, -63.03)
CIE-LCHlch(19.63, 76.01, 303.98°)
OKLaboklab(32.56% 0.0016 -0.1825)
OKLCHoklch(32.56% 0.182 270.5)
XYZxyz(5.7299, 2.8974, 26.2385)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A198F #8E8F19
analogous
#19538F #1A198F #55198F
triadic
#1A198F #8F1A19 #198F1A
tetradic
#1A198F #8F1953 #8E8F19 #198F55
square
#1A198F #8F1953 #8E8F19 #198F55
split-complementary
#1A198F #8F5519 #538F19
monochromatic
#070727 #11105B #1A198F #2322C3 #4544DE

Accessibility & contrast

On white

13.29
#1A198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A198F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A198F#FFFFFF#000000##FFFFFF
##1A198F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a198f;
/* rgb */ color: rgb(26, 25, 143);
/* oklch */ color: oklch(32.6% 0.182 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f59b1',
    500: '#1a198f',
    950: '#000000',
  },
}
SCSS
$custom: #1a198f;
$custom-light: #6f59b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a198f",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 240.508,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32561,
    "c": 0.18249,
    "h": 270.5
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#1A198F
secondary
#BEBF44
accent
#ED3BEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A198F

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

Preview Lab → · Contrast checker → · Palette generator →

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