#1A197F#1A197F

#1A197F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.163 H 271.8°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#1A197F
RGBrgb(26, 25, 127)
HSLhsl(241, 67%, 30%)
HSVhsv(241, 80%, 50%)
CMYKcmyk(79.5%, 80.3%, 0%, 50.2%)
CIE-LABlab(17.68, 37.10, -56.20)
CIE-LCHlch(17.68, 67.34, 303.43°)
OKLaboklab(30.63% 0.0051 -0.1627)
OKLCHoklch(30.63% 0.163 271.8)
XYZxyz(4.6031, 2.4467, 20.3042)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A197F #7E7F19
analogous
#194B7F #1A197F #4D197F
triadic
#1A197F #7F1A19 #197F1A
tetradic
#1A197F #7F194B #7E7F19 #197F4D
square
#1A197F #7F194B #7E7F19 #197F4D
split-complementary
#1A197F #7F4D19 #4B7F19
monochromatic
#05051A #100F4C #1A197F #2423B2 #3C3AD8

Accessibility & contrast

On white

14.10
#1A197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1A197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A197F
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A197F#FFFFFF#000000##FFFFFF
##1A197F1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a197f;
/* rgb */ color: rgb(26, 25, 127);
/* oklch */ color: oklch(30.6% 0.163 271.8);
Tailwind
colors: {
  custom: {
    50: '#6a58a5',
    500: '#1a197f',
    950: '#000000',
  },
}
SCSS
$custom: #1a197f;
$custom-light: #6a58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a197f",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 240.588,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3063,
    "c": 0.16277,
    "h": 271.8
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A197F

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

Preview Lab → · Contrast checker → · Palette generator →

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