#1A2C5C#1A2C5C

#1A2C5C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.089 H 265.9°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#1A2C5C
RGBrgb(26, 44, 92)
HSLhsl(224, 56%, 23%)
HSVhsv(224, 72%, 36%)
CMYKcmyk(71.7%, 52.2%, 0%, 63.9%)
CIE-LABlab(19.20, 10.71, -31.00)
CIE-LCHlch(19.20, 32.80, 289.05°)
OKLaboklab(30.72% -0.0064 -0.0888)
OKLCHoklch(30.72% 0.089 265.9)
XYZxyz(3.2578, 2.7934, 10.4906)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C5C #5C4A1A
analogous
#1A4D5C #1A2C5C #291A5C
triadic
#1A2C5C #5C1A2C #2C5C1A
tetradic
#1A2C5C #5C1A4D #5C4A1A #1A5C29
square
#1A2C5C #5C1A4D #5C4A1A #1A5C29
split-complementary
#1A2C5C #5C291A #4D5C1A
monochromatic
#070B18 #0D152C #1A2C5C #27438C #355ABB

Accessibility & contrast

On white

13.47
#1A2C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A2C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C5C
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C5C#FFFFFF#000000##FFFFFF
##1A2C5C1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325E
Deuteranopia (green-blind)
#042C5B
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2c5c;
/* rgb */ color: rgb(26, 44, 92);
/* oklch */ color: oklch(30.7% 0.089 265.9);
Tailwind
colors: {
  custom: {
    50: '#5f648a',
    500: '#1a2c5c',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c5c;
$custom-light: #5f648a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c5c",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 92
  },
  "hsl": {
    "h": 223.636,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30721,
    "c": 0.08907,
    "h": 265.9
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#1A2C5C
secondary
#927C40
accent
#B649DF
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1A2C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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