#1A154A#1A154A

#1A154A is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.094 H 280.9°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#1A154A
RGBrgb(26, 21, 74)
HSLhsl(246, 56%, 19%)
HSVhsv(246, 72%, 29%)
CMYKcmyk(64.9%, 71.6%, 0%, 71%)
CIE-LABlab(10.92, 20.36, -32.21)
CIE-LCHlch(10.92, 38.11, 302.29°)
OKLaboklab(24.06% 0.0178 -0.0927)
OKLCHoklch(24.06% 0.094 280.9)
XYZxyz(1.9298, 1.2502, 6.6169)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A154A #454A15
analogous
#152A4A #1A154A #34154A
triadic
#1A154A #4A1A15 #154A1A
tetradic
#1A154A #4A152A #454A15 #154A34
square
#1A154A #4A152A #454A15 #154A34
split-complementary
#1A154A #4A3415 #2A4A15
monochromatic
#080718 #09071A #1A154A #2B237A #3B30A9

Accessibility & contrast

On white

16.80
#1A154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1A154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A154A
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A154A#FFFFFF#000000##FFFFFF
##1A154A1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#00222D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1a154a;
/* rgb */ color: rgb(26, 21, 74);
/* oklch */ color: oklch(24.1% 0.094 280.9);
Tailwind
colors: {
  custom: {
    50: '#5d527d',
    500: '#1a154a',
    950: '#000000',
  },
}
SCSS
$custom: #1a154a;
$custom-light: #5d527d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a154a",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 245.66,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24064,
    "c": 0.09436,
    "h": 280.9
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#1A154A
secondary
#7B8239
accent
#DF49D1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #1A154A

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

Preview Lab → · Contrast checker → · Palette generator →

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