#1A154D#1A154D

#1A154D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.099 H 280.1°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#1A154D
RGBrgb(26, 21, 77)
HSLhsl(245, 57%, 19%)
HSVhsv(245, 73%, 30%)
CMYKcmyk(66.2%, 72.7%, 0%, 69.8%)
CIE-LABlab(11.22, 21.49, -33.81)
CIE-LCHlch(11.22, 40.06, 302.44°)
OKLaboklab(24.37% 0.0174 -0.0974)
OKLCHoklch(24.37% 0.099 280.1)
XYZxyz(2.0333, 1.2916, 7.1619)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A154D #484D15
analogous
#152C4D #1A154D #36154D
triadic
#1A154D #4D1A15 #154D1A
tetradic
#1A154D #4D152C #484D15 #154D36
square
#1A154D #4D152C #484D15 #154D36
split-complementary
#1A154D #4D3615 #2C4D15
monochromatic
#080718 #0A081D #1A154D #2A227D #3A2FAD

Accessibility & contrast

On white

16.69
#1A154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A154D
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A154D#FFFFFF#000000##FFFFFF
##1A154D1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a154d;
/* rgb */ color: rgb(26, 21, 77);
/* oklch */ color: oklch(24.4% 0.099 280.1);
Tailwind
colors: {
  custom: {
    50: '#5e527f',
    500: '#1a154d',
    950: '#000000',
  },
}
SCSS
$custom: #1a154d;
$custom-light: #5e527f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a154d",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 245.357,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24368,
    "c": 0.0989,
    "h": 280.1
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#1A154D
secondary
#7E8539
accent
#E047D3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A154D

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

Preview Lab → · Contrast checker → · Palette generator →

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