#1A188D#1A188D

#1A188D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.181 H 270.7°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#1A188D
RGBrgb(26, 24, 141)
HSLhsl(241, 71%, 32%)
HSVhsv(241, 83%, 55%)
CMYKcmyk(81.6%, 83%, 0%, 44.7%)
CIE-LABlab(19.20, 42.34, -62.49)
CIE-LCHlch(19.20, 75.48, 304.12°)
OKLaboklab(32.2% 0.0023 -0.1809)
OKLCHoklch(32.2% 0.181 270.7)
XYZxyz(5.5587, 2.7953, 25.4407)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A188D #8B8D18
analogous
#18508D #1A188D #55188D
triadic
#1A188D #8D1A18 #188D1A
tetradic
#1A188D #8D1850 #8B8D18 #188D55
square
#1A188D #8D1850 #8B8D18 #188D55
split-complementary
#1A188D #8D5518 #508D18
monochromatic
#070624 #100F59 #1A188D #2421C1 #4341DF

Accessibility & contrast

On white

13.47
#1A188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A188D
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A188D#FFFFFF#000000##FFFFFF
##1A188D1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a188d;
/* rgb */ color: rgb(26, 24, 141);
/* oklch */ color: oklch(32.2% 0.181 270.7);
Tailwind
colors: {
  custom: {
    50: '#6e58b0',
    500: '#1a188d',
    950: '#000000',
  },
}
SCSS
$custom: #1a188d;
$custom-light: #6e58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a188d",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 241.026,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32195,
    "c": 0.1809,
    "h": 270.7
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#1A188D
secondary
#BDBF42
accent
#EE3AEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1A188D

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

Preview Lab → · Contrast checker → · Palette generator →

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