#1A198E#1A198E

#1A198E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.181 H 270.6°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#1A198E
RGBrgb(26, 25, 142)
HSLhsl(241, 70%, 33%)
HSVhsv(241, 82%, 56%)
CMYKcmyk(81.7%, 82.4%, 0%, 44.3%)
CIE-LABlab(19.50, 42.15, -62.61)
CIE-LCHlch(19.50, 75.48, 303.95°)
OKLaboklab(32.44% 0.0018 -0.1813)
OKLCHoklch(32.44% 0.181 270.6)
XYZxyz(5.6545, 2.8672, 25.8414)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A198E #8D8E19
analogous
#19528E #1A198E #55198E
triadic
#1A198E #8E1A19 #198E1A
tetradic
#1A198E #8E1952 #8D8E19 #198E55
square
#1A198E #8E1952 #8D8E19 #198E55
split-complementary
#1A198E #8E5519 #528E19
monochromatic
#070726 #10105A #1A198E #2422C2 #4543DE

Accessibility & contrast

On white

13.35
#1A198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A198E
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A198E#FFFFFF#000000##FFFFFF
##1A198E1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a198e;
/* rgb */ color: rgb(26, 25, 142);
/* oklch */ color: oklch(32.4% 0.181 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e59b0',
    500: '#1a198e',
    950: '#000000',
  },
}
SCSS
$custom: #1a198e;
$custom-light: #6e59b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a198e",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 240.513,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32439,
    "c": 0.18128,
    "h": 270.6
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A198E

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

Preview Lab → · Contrast checker → · Palette generator →

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