#1A197B#1A197B

#1A197B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.158 H 272.2°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#1A197B
RGBrgb(26, 25, 123)
HSLhsl(241, 66%, 29%)
HSVhsv(241, 80%, 48%)
CMYKcmyk(78.9%, 79.7%, 0%, 51.8%)
CIE-LABlab(17.20, 35.71, -54.44)
CIE-LCHlch(17.20, 65.11, 303.26°)
OKLaboklab(30.16% 0.0059 -0.1576)
OKLCHoklch(30.16% 0.158 272.2)
XYZxyz(4.3476, 2.3445, 18.9584)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A197B #7A7B19
analogous
#19497B #1A197B #4B197B
triadic
#1A197B #7B1A19 #197B1A
tetradic
#1A197B #7B1949 #7A7B19 #197B4B
square
#1A197B #7B1949 #7A7B19 #197B4B
split-complementary
#1A197B #7B4B19 #497B19
monochromatic
#050519 #0F0F48 #1A197B #2523AE #3938D7

Accessibility & contrast

On white

14.30
#1A197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1A197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A197B
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A197B#FFFFFF#000000##FFFFFF
##1A197B1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a197b;
/* rgb */ color: rgb(26, 25, 123);
/* oklch */ color: oklch(30.2% 0.158 272.2);
Tailwind
colors: {
  custom: {
    50: '#6957a2',
    500: '#1a197b',
    950: '#000000',
  },
}
SCSS
$custom: #1a197b;
$custom-light: #6957a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a197b",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 240.612,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30156,
    "c": 0.15769,
    "h": 272.2
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#1A197B
secondary
#AEAF40
accent
#E93FE7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1A197B

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

Preview Lab → · Contrast checker → · Palette generator →

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