#1A188C#1A188C

#1A188C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.180 H 270.8°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#1A188C
RGBrgb(26, 24, 140)
HSLhsl(241, 71%, 32%)
HSVhsv(241, 83%, 55%)
CMYKcmyk(81.4%, 82.9%, 0%, 45.1%)
CIE-LABlab(19.08, 42.01, -62.07)
CIE-LCHlch(19.08, 74.95, 304.09°)
OKLaboklab(32.07% 0.0025 -0.1797)
OKLCHoklch(32.07% 0.18 270.8)
XYZxyz(5.4847, 2.7657, 25.0506)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A188C #8A8C18
analogous
#18508C #1A188C #54188C
triadic
#1A188C #8C1A18 #188C1A
tetradic
#1A188C #8C1850 #8A8C18 #188C54
square
#1A188C #8C1850 #8A8C18 #188C54
split-complementary
#1A188C #8C5418 #508C18
monochromatic
#070624 #100F58 #1A188C #2421C0 #4340DE

Accessibility & contrast

On white

13.52
#1A188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A188C
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A188C#FFFFFF#000000##FFFFFF
##1A188C1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00288A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a188c;
/* rgb */ color: rgb(26, 24, 140);
/* oklch */ color: oklch(32.1% 0.180 270.8);
Tailwind
colors: {
  custom: {
    50: '#6e58af',
    500: '#1a188c',
    950: '#000000',
  },
}
SCSS
$custom: #1a188c;
$custom-light: #6e58af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a188c",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 241.034,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32072,
    "c": 0.1797,
    "h": 270.8
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#1A188C
secondary
#BDBF41
accent
#ED3AEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #1A188C

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

Preview Lab → · Contrast checker → · Palette generator →

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