#1A198B#1A198B

#1A198B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.178 H 270.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#1A198B
RGBrgb(26, 25, 139)
HSLhsl(241, 70%, 32%)
HSVhsv(241, 82%, 55%)
CMYKcmyk(81.3%, 82%, 0%, 45.5%)
CIE-LABlab(19.13, 41.16, -61.35)
CIE-LCHlch(19.13, 73.88, 303.86°)
OKLaboklab(32.07% 0.0025 -0.1776)
OKLCHoklch(32.07% 0.178 270.8)
XYZxyz(5.4323, 2.7783, 24.6711)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A198B #8A8B19
analogous
#19518B #1A198B #53198B
triadic
#1A198B #8B1A19 #198B1A
tetradic
#1A198B #8B1951 #8A8B19 #198B53
square
#1A198B #8B1951 #8A8B19 #198B53
split-complementary
#1A198B #8B5319 #518B19
monochromatic
#070623 #101057 #1A198B #2422BF #4341DD

Accessibility & contrast

On white

13.50
#1A198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A198B
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A198B#FFFFFF#000000##FFFFFF
##1A198B1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002889
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a198b;
/* rgb */ color: rgb(26, 25, 139);
/* oklch */ color: oklch(32.1% 0.178 270.8);
Tailwind
colors: {
  custom: {
    50: '#6e59ae',
    500: '#1a198b',
    950: '#000000',
  },
}
SCSS
$custom: #1a198b;
$custom-light: #6e59ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a198b",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 240.526,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32073,
    "c": 0.17765,
    "h": 270.8
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#1A198B
secondary
#BDBE42
accent
#EC3BEB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #1A198B

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

Preview Lab → · Contrast checker → · Palette generator →

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