#1A189F#1A189F

#1A189F is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.4% C 0.202 H 269.5°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#1A189F
RGBrgb(26, 24, 159)
HSLhsl(241, 74%, 36%)
HSVhsv(241, 85%, 62%)
CMYKcmyk(83.6%, 84.9%, 0%, 37.6%)
CIE-LABlab(21.49, 48.08, -69.81)
CIE-LCHlch(21.49, 84.77, 304.56°)
OKLaboklab(34.43% -0.0018 -0.2021)
OKLCHoklch(34.43% 0.202 269.5)
XYZxyz(7.0085, 3.3752, 33.0763)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A189F #9D9F18
analogous
#18599F #1A189F #5D189F
triadic
#1A189F #9F1A18 #189F1A
tetradic
#1A189F #9F1859 #9D9F18 #189F5D
square
#1A189F #9F1859 #9D9F18 #189F5D
split-complementary
#1A189F #9F5D18 #599F18
monochromatic
#090835 #11106A #1A189F #2320D4 #4F4DE4

Accessibility & contrast

On white

12.54
#1A189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A189F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A189F#FFFFFF#000000##FFFFFF
##1A189F1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002C9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a189f;
/* rgb */ color: rgb(26, 24, 159);
/* oklch */ color: oklch(34.4% 0.202 269.5);
Tailwind
colors: {
  custom: {
    50: '#735abd',
    500: '#1a189f',
    950: '#000000',
  },
}
SCSS
$custom: #1a189f;
$custom-light: #735abd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a189f",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 240.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34428,
    "c": 0.20208,
    "h": 269.5
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#1A189F
secondary
#C4C64D
accent
#F037EE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A189F

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

Preview Lab → · Contrast checker → · Palette generator →

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