#1A2C4D#1A2C4D

#1A2C4D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.6% C 0.065 H 261.6°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#1A2C4D
RGBrgb(26, 44, 77)
HSLhsl(219, 50%, 20%)
HSVhsv(219, 66%, 30%)
CMYKcmyk(66.2%, 42.9%, 0%, 69.8%)
CIE-LABlab(18.17, 4.62, -22.60)
CIE-LCHlch(18.17, 23.07, 281.55°)
OKLaboklab(29.6% -0.0095 -0.0642)
OKLCHoklch(29.6% 0.065 261.6)
XYZxyz(2.6658, 2.5566, 7.3727)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C4D #4D3B1A
analogous
#1A454D #1A2C4D #221A4D
triadic
#1A2C4D #4D1A2C #2C4D1A
tetradic
#1A2C4D #4D1A45 #4D3B1A #1A4D22
square
#1A2C4D #4D1A45 #4D3B1A #1A4D22
split-complementary
#1A2C4D #4D221A #454D1A
monochromatic
#080D17 #0B121F #1A2C4D #29467B #3960A9

Accessibility & contrast

On white

13.89
#1A2C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A2C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C4D
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C4D#FFFFFF#000000##FFFFFF
##1A2C4D1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4E
Deuteranopia (green-blind)
#172A4C
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a2c4d;
/* rgb */ color: rgb(26, 44, 77);
/* oklch */ color: oklch(29.6% 0.065 261.6);
Tailwind
colors: {
  custom: {
    50: '#5c647f',
    500: '#1a2c4d',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c4d;
$custom-light: #5c647f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c4d",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 77
  },
  "hsl": {
    "h": 218.824,
    "s": 49.515,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29603,
    "c": 0.06486,
    "h": 261.6
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#1A2C4D
secondary
#836B40
accent
#A84FD9
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1A2C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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