#1A198D#1A198D

#1A198D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.180 H 270.6°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#1A198D
RGBrgb(26, 25, 141)
HSLhsl(241, 70%, 33%)
HSVhsv(241, 82%, 55%)
CMYKcmyk(81.6%, 82.3%, 0%, 44.7%)
CIE-LABlab(19.38, 41.82, -62.19)
CIE-LCHlch(19.38, 74.95, 303.92°)
OKLaboklab(32.32% 0.002 -0.1801)
OKLCHoklch(32.32% 0.18 270.6)
XYZxyz(5.5797, 2.8373, 25.4477)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A198D #8C8D19
analogous
#19528D #1A198D #54198D
triadic
#1A198D #8D1A19 #198D1A
tetradic
#1A198D #8D1952 #8C8D19 #198D54
square
#1A198D #8D1952 #8C8D19 #198D54
split-complementary
#1A198D #8D5419 #528D19
monochromatic
#070725 #101059 #1A198D #2422C1 #4443DE

Accessibility & contrast

On white

13.40
#1A198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A198D
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A198D#FFFFFF#000000##FFFFFF
##1A198D1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a198d;
/* rgb */ color: rgb(26, 25, 141);
/* oklch */ color: oklch(32.3% 0.180 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e59b0',
    500: '#1a198d',
    950: '#000000',
  },
}
SCSS
$custom: #1a198d;
$custom-light: #6e59b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a198d",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 240.517,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32317,
    "c": 0.18007,
    "h": 270.6
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A198D

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

Preview Lab → · Contrast checker → · Palette generator →

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