#1A184E#1A184E

#1A184E is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.096 H 278.5°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#1A184E
RGBrgb(26, 24, 78)
HSLhsl(242, 53%, 20%)
HSVhsv(242, 69%, 31%)
CMYKcmyk(66.7%, 69.2%, 0%, 69.4%)
CIE-LABlab(12.11, 19.75, -33.04)
CIE-LCHlch(12.11, 38.49, 300.87°)
OKLaboklab(25.05% 0.0143 -0.0951)
OKLCHoklch(25.05% 0.096 278.5)
XYZxyz(2.1273, 1.4228, 7.3688)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A184E #4C4E18
analogous
#18314E #1A184E #35184E
triadic
#1A184E #4E1A18 #184E1A
tetradic
#1A184E #4E1831 #4C4E18 #184E35
square
#1A184E #4E1831 #4C4E18 #184E35
split-complementary
#1A184E #4E3518 #314E18
monochromatic
#080717 #0A0A1F #1A184E #2A267D #3935AC

Accessibility & contrast

On white

16.35
#1A184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1A184E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A184E
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A184E#FFFFFF#000000##FFFFFF
##1A184E1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1a184e;
/* rgb */ color: rgb(26, 24, 78);
/* oklch */ color: oklch(25.0% 0.096 278.5);
Tailwind
colors: {
  custom: {
    50: '#5e5580',
    500: '#1a184e',
    950: '#000000',
  },
}
SCSS
$custom: #1a184e;
$custom-light: #5e5580;
$custom-dark: #000000;
JSON
{
  "hex": "#1a184e",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 242.222,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.25047,
    "c": 0.09615,
    "h": 278.5
  },
  "luminance": 0.01423
}

Semantic roles & 50–950 ramp

primary
#1A184E
secondary
#82853D
accent
#DC4BD7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #1A184E

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

Preview Lab → · Contrast checker → · Palette generator →

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