#1A2C5F#1A2C5F

#1A2C5F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.094 H 266.4°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#1A2C5F
RGBrgb(26, 44, 95)
HSLhsl(224, 57%, 24%)
HSVhsv(224, 73%, 37%)
CMYKcmyk(72.6%, 53.7%, 0%, 62.7%)
CIE-LABlab(19.42, 11.94, -32.63)
CIE-LCHlch(19.42, 34.74, 290.10°)
OKLaboklab(30.96% -0.006 -0.0936)
OKLCHoklch(30.96% 0.094 266.4)
XYZxyz(3.3915, 2.8469, 11.1950)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C5F #5F4D1A
analogous
#1A4E5F #1A2C5F #2A1A5F
triadic
#1A2C5F #5F1A2C #2C5F1A
tetradic
#1A2C5F #5F1A4E #5F4D1A #1A5F2A
square
#1A2C5F #5F1A4E #5F4D1A #1A5F2A
split-complementary
#1A2C5F #5F2A1A #4E5F1A
monochromatic
#070B18 #0D162F #1A2C5F #27428F #3459BF

Accessibility & contrast

On white

13.38
#1A2C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A2C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C5F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C5F#FFFFFF#000000##FFFFFF
##1A2C5F1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3261
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2c5f;
/* rgb */ color: rgb(26, 44, 95);
/* oklch */ color: oklch(31.0% 0.094 266.4);
Tailwind
colors: {
  custom: {
    50: '#60648d',
    500: '#1a2c5f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c5f;
$custom-light: #60648d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c5f",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 224.348,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30962,
    "c": 0.09381,
    "h": 266.4
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#1A2C5F
secondary
#957F40
accent
#B848E0
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1A2C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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