#1A188E#1A188E

#1A188E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.182 H 270.6°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#1A188E
RGBrgb(26, 24, 142)
HSLhsl(241, 71%, 33%)
HSVhsv(241, 83%, 56%)
CMYKcmyk(81.7%, 83.1%, 0%, 44.3%)
CIE-LABlab(19.33, 42.66, -62.90)
CIE-LCHlch(19.33, 76.01, 304.15°)
OKLaboklab(32.32% 0.002 -0.1821)
OKLCHoklch(32.32% 0.182 270.6)
XYZxyz(5.6335, 2.8252, 25.8344)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A188E #8C8E18
analogous
#18518E #1A188E #55188E
triadic
#1A188E #8E1A18 #188E1A
tetradic
#1A188E #8E1851 #8C8E18 #188E55
square
#1A188E #8E1851 #8C8E18 #188E55
split-complementary
#1A188E #8E5518 #518E18
monochromatic
#070625 #100F5A #1A188E #2421C2 #4441DF

Accessibility & contrast

On white

13.42
#1A188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A188E
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A188E#FFFFFF#000000##FFFFFF
##1A188E1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a188e;
/* rgb */ color: rgb(26, 24, 142);
/* oklch */ color: oklch(32.3% 0.182 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e58b0',
    500: '#1a188e',
    950: '#000000',
  },
}
SCSS
$custom: #1a188e;
$custom-light: #6e58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a188e",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 241.017,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32318,
    "c": 0.1821,
    "h": 270.6
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A188E

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

Preview Lab → · Contrast checker → · Palette generator →

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