#1A189E#1A189E

#1A189E is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.3% C 0.201 H 269.6°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#1A189E
RGBrgb(26, 24, 158)
HSLhsl(241, 74%, 36%)
HSVhsv(241, 85%, 62%)
CMYKcmyk(83.5%, 84.8%, 0%, 38%)
CIE-LABlab(21.36, 47.77, -69.41)
CIE-LCHlch(21.36, 84.26, 304.54°)
OKLaboklab(34.3% -0.0015 -0.2009)
OKLCHoklch(34.3% 0.201 269.6)
XYZxyz(6.9221, 3.3407, 32.6211)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A189E #9C9E18
analogous
#18599E #1A189E #5D189E
triadic
#1A189E #9E1A18 #189E1A
tetradic
#1A189E #9E1859 #9C9E18 #189E5D
square
#1A189E #9E1859 #9C9E18 #189E5D
split-complementary
#1A189E #9E5D18 #599E18
monochromatic
#090834 #111069 #1A189E #2320D3 #4F4DE4

Accessibility & contrast

On white

12.59
#1A189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A189E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A189E
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A189E#FFFFFF#000000##FFFFFF
##1A189E1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002C9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a189e;
/* rgb */ color: rgb(26, 24, 158);
/* oklch */ color: oklch(34.3% 0.201 269.6);
Tailwind
colors: {
  custom: {
    50: '#735abc',
    500: '#1a189e',
    950: '#000000',
  },
}
SCSS
$custom: #1a189e;
$custom-light: #735abc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a189e",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 240.896,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34303,
    "c": 0.20093,
    "h": 269.6
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#1A189E
secondary
#C4C64C
accent
#F038EE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A189E

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

Preview Lab → · Contrast checker → · Palette generator →

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