#1A184F#1A184F

#1A184F is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.098 H 278.3°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#1A184F
RGBrgb(26, 24, 79)
HSLhsl(242, 53%, 20%)
HSVhsv(242, 70%, 31%)
CMYKcmyk(67.1%, 69.6%, 0%, 69%)
CIE-LABlab(12.20, 20.14, -33.57)
CIE-LCHlch(12.20, 39.15, 300.96°)
OKLaboklab(25.15% 0.0142 -0.0966)
OKLCHoklch(25.15% 0.098 278.3)
XYZxyz(2.1635, 1.4372, 7.5590)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A184F #4D4F18
analogous
#18314F #1A184F #35184F
triadic
#1A184F #4F1A18 #184F1A
tetradic
#1A184F #4F1831 #4D4F18 #184F35
square
#1A184F #4F1831 #4D4F18 #184F35
split-complementary
#1A184F #4F3518 #314F18
monochromatic
#080717 #0B0A20 #1A184F #29267E #3935AD

Accessibility & contrast

On white

16.31
#1A184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1A184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A184F
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A184F#FFFFFF#000000##FFFFFF
##1A184F1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#002630
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1a184f;
/* rgb */ color: rgb(26, 24, 79);
/* oklch */ color: oklch(25.1% 0.098 278.3);
Tailwind
colors: {
  custom: {
    50: '#5e5581',
    500: '#1a184f',
    950: '#000000',
  },
}
SCSS
$custom: #1a184f;
$custom-light: #5e5581;
$custom-dark: #000000;
JSON
{
  "hex": "#1a184f",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 242.182,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25146,
    "c": 0.09768,
    "h": 278.3
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#1A184F
secondary
#83863D
accent
#DD4BD7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #1A184F

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

Preview Lab → · Contrast checker → · Palette generator →

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