#1A2C4E#1A2C4E

#1A2C4E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.7% C 0.066 H 262.0°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#1A2C4E
RGBrgb(26, 44, 78)
HSLhsl(219, 50%, 20%)
HSVhsv(219, 67%, 31%)
CMYKcmyk(66.7%, 43.6%, 0%, 69.4%)
CIE-LABlab(18.24, 5.02, -23.18)
CIE-LCHlch(18.24, 23.71, 282.22°)
OKLaboklab(29.67% -0.0092 -0.0659)
OKLCHoklch(29.67% 0.066 262)
XYZxyz(2.7014, 2.5708, 7.5601)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C4E #4E3C1A
analogous
#1A464E #1A2C4E #221A4E
triadic
#1A2C4E #4E1A2C #2C4E1A
tetradic
#1A2C4E #4E1A46 #4E3C1A #1A4E22
square
#1A2C4E #4E1A46 #4E3C1A #1A4E22
split-complementary
#1A2C4E #4E221A #464E1A
monochromatic
#080D17 #0B1220 #1A2C4E #29467C #3960AA

Accessibility & contrast

On white

13.87
#1A2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2C4E
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C4E#FFFFFF#000000##FFFFFF
##1A2C4E1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#162A4D
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a2c4e;
/* rgb */ color: rgb(26, 44, 78);
/* oklch */ color: oklch(29.7% 0.066 262.0);
Tailwind
colors: {
  custom: {
    50: '#5c6480',
    500: '#1a2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c4e;
$custom-light: #5c6480;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c4e",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 219.231,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29672,
    "c": 0.06649,
    "h": 262
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#1A2C4E
secondary
#846C40
accent
#A94EDA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1A2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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