#1A184C#1A184C

#1A184C is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.093 H 278.9°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#1A184C
RGBrgb(26, 24, 76)
HSLhsl(242, 52%, 20%)
HSVhsv(242, 68%, 30%)
CMYKcmyk(65.8%, 68.4%, 0%, 70.2%)
CIE-LABlab(11.92, 18.98, -31.97)
CIE-LCHlch(11.92, 37.18, 300.70°)
OKLaboklab(24.85% 0.0144 -0.0919)
OKLCHoklch(24.85% 0.093 278.9)
XYZxyz(2.0567, 1.3945, 6.9969)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A184C #4A4C18
analogous
#18304C #1A184C #34184C
triadic
#1A184C #4C1A18 #184C1A
tetradic
#1A184C #4C1830 #4A4C18 #184C34
square
#1A184C #4C1830 #4A4C18 #184C34
split-complementary
#1A184C #4C3418 #304C18
monochromatic
#080717 #0A091D #1A184C #2A277B #3A35A9

Accessibility & contrast

On white

16.42
#1A184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A184C
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A184C#FFFFFF#000000##FFFFFF
##1A184C1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a184c;
/* rgb */ color: rgb(26, 24, 76);
/* oklch */ color: oklch(24.9% 0.093 278.9);
Tailwind
colors: {
  custom: {
    50: '#5d557f',
    500: '#1a184c',
    950: '#000000',
  },
}
SCSS
$custom: #1a184c;
$custom-light: #5d557f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a184c",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 242.308,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24851,
    "c": 0.09306,
    "h": 278.9
  },
  "luminance": 0.01395
}

Semantic roles & 50–950 ramp

primary
#1A184C
secondary
#80833D
accent
#DB4CD6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #1A184C

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

Preview Lab → · Contrast checker → · Palette generator →

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