#1A154E#1A154E

#1A154E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.100 H 279.9°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#1A154E
RGBrgb(26, 21, 78)
HSLhsl(245, 58%, 19%)
HSVhsv(245, 73%, 31%)
CMYKcmyk(66.7%, 73.1%, 0%, 69.4%)
CIE-LABlab(11.32, 21.86, -34.33)
CIE-LCHlch(11.32, 40.70, 302.49°)
OKLaboklab(24.47% 0.0173 -0.0989)
OKLCHoklch(24.47% 0.1 279.9)
XYZxyz(2.0689, 1.3059, 7.3493)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A154E #494E15
analogous
#152D4E #1A154E #37154E
triadic
#1A154E #4E1A15 #154E1A
tetradic
#1A154E #4E152D #494E15 #154E37
square
#1A154E #4E152D #494E15 #154E37
split-complementary
#1A154E #4E3715 #2D4E15
monochromatic
#080618 #0A081E #1A154E #2A227E #3A2FAE

Accessibility & contrast

On white

16.65
#1A154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A154E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A154E#FFFFFF#000000##FFFFFF
##1A154E1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1a154e;
/* rgb */ color: rgb(26, 21, 78);
/* oklch */ color: oklch(24.5% 0.100 279.9);
Tailwind
colors: {
  custom: {
    50: '#5e5380',
    500: '#1a154e',
    950: '#000000',
  },
}
SCSS
$custom: #1a154e;
$custom-light: #5e5380;
$custom-dark: #000000;
JSON
{
  "hex": "#1a154e",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 245.263,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24471,
    "c": 0.10039,
    "h": 279.9
  },
  "luminance": 0.01306
}

Semantic roles & 50–950 ramp

primary
#1A154E
secondary
#7F8639
accent
#E147D3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A154E

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

Preview Lab → · Contrast checker → · Palette generator →

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