#1A197E#1A197E

#1A197E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.162 H 271.9°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#1A197E
RGBrgb(26, 25, 126)
HSLhsl(241, 67%, 30%)
HSVhsv(241, 80%, 49%)
CMYKcmyk(79.4%, 80.2%, 0%, 50.6%)
CIE-LABlab(17.56, 36.76, -55.76)
CIE-LCHlch(17.56, 66.79, 303.39°)
OKLaboklab(30.51% 0.0053 -0.1614)
OKLCHoklch(30.51% 0.162 271.9)
XYZxyz(4.5383, 2.4207, 19.9627)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A197E #7D7E19
analogous
#194B7E #1A197E #4D197E
triadic
#1A197E #7E1A19 #197E1A
tetradic
#1A197E #7E194B #7D7E19 #197E4D
square
#1A197E #7E194B #7D7E19 #197E4D
split-complementary
#1A197E #7E4D19 #4B7E19
monochromatic
#05051A #0F0F4B #1A197E #2523B1 #3B3AD8

Accessibility & contrast

On white

14.15
#1A197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1A197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A197E
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A197E#FFFFFF#000000##FFFFFF
##1A197E1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a197e;
/* rgb */ color: rgb(26, 25, 126);
/* oklch */ color: oklch(30.5% 0.162 271.9);
Tailwind
colors: {
  custom: {
    50: '#6a58a5',
    500: '#1a197e',
    950: '#000000',
  },
}
SCSS
$custom: #1a197e;
$custom-light: #6a58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a197e",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 240.594,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30511,
    "c": 0.16151,
    "h": 271.9
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#1A197E
secondary
#B1B241
accent
#EA3EE8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1A197E

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

Preview Lab → · Contrast checker → · Palette generator →

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