#1A188F#1A188F

#1A188F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.183 H 270.6°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#1A188F
RGBrgb(26, 24, 143)
HSLhsl(241, 71%, 33%)
HSVhsv(241, 83%, 56%)
CMYKcmyk(81.8%, 83.2%, 0%, 43.9%)
CIE-LABlab(19.46, 42.99, -63.32)
CIE-LCHlch(19.46, 76.53, 304.17°)
OKLaboklab(32.44% 0.0018 -0.1833)
OKLCHoklch(32.44% 0.183 270.6)
XYZxyz(5.7089, 2.8554, 26.2315)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A188F #8D8F18
analogous
#18528F #1A188F #55188F
triadic
#1A188F #8F1A18 #188F1A
tetradic
#1A188F #8F1852 #8D8F18 #188F55
square
#1A188F #8F1852 #8D8F18 #188F55
split-complementary
#1A188F #8F5518 #528F18
monochromatic
#070626 #100F5B #1A188F #2421C3 #4542DF

Accessibility & contrast

On white

13.37
#1A188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A188F
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A188F#FFFFFF#000000##FFFFFF
##1A188F1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a188f;
/* rgb */ color: rgb(26, 24, 143);
/* oklch */ color: oklch(32.4% 0.183 270.6);
Tailwind
colors: {
  custom: {
    50: '#6f58b1',
    500: '#1a188f',
    950: '#000000',
  },
}
SCSS
$custom: #1a188f;
$custom-light: #6f58b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a188f",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 241.008,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32441,
    "c": 0.1833,
    "h": 270.6
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A188F

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

Preview Lab → · Contrast checker → · Palette generator →

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