#1A154C#1A154C

#1A154C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.097 H 280.4°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#1A154C
RGBrgb(26, 21, 76)
HSLhsl(245, 57%, 19%)
HSVhsv(245, 72%, 30%)
CMYKcmyk(65.8%, 72.4%, 0%, 70.2%)
CIE-LABlab(11.12, 21.11, -33.28)
CIE-LCHlch(11.12, 39.41, 302.39°)
OKLaboklab(24.27% 0.0175 -0.0958)
OKLCHoklch(24.27% 0.097 280.4)
XYZxyz(1.9983, 1.2776, 6.9774)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A154C #474C15
analogous
#152C4C #1A154C #36154C
triadic
#1A154C #4C1A15 #154C1A
tetradic
#1A154C #4C152C #474C15 #154C36
square
#1A154C #4C152C #474C15 #154C36
split-complementary
#1A154C #4C3615 #2C4C15
monochromatic
#080718 #0A081C #1A154C #2A227C #3B2FAC

Accessibility & contrast

On white

16.73
#1A154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1A154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A154C
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A154C#FFFFFF#000000##FFFFFF
##1A154C1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#001C4B
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1a154c;
/* rgb */ color: rgb(26, 21, 76);
/* oklch */ color: oklch(24.3% 0.097 280.4);
Tailwind
colors: {
  custom: {
    50: '#5d527f',
    500: '#1a154c',
    950: '#000000',
  },
}
SCSS
$custom: #1a154c;
$custom-light: #5d527f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a154c",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 245.455,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24266,
    "c": 0.09739,
    "h": 280.4
  },
  "luminance": 0.01278
}

Semantic roles & 50–950 ramp

primary
#1A154C
secondary
#7D8439
accent
#E048D2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A154C

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

Preview Lab → · Contrast checker → · Palette generator →

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