#1A154B#1A154B

#1A154B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.096 H 280.6°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#1A154B
RGBrgb(26, 21, 75)
HSLhsl(246, 56%, 19%)
HSVhsv(246, 72%, 29%)
CMYKcmyk(65.3%, 72%, 0%, 70.6%)
CIE-LABlab(11.02, 20.74, -32.75)
CIE-LCHlch(11.02, 38.76, 302.34°)
OKLaboklab(24.16% 0.0177 -0.0942)
OKLCHoklch(24.16% 0.096 280.6)
XYZxyz(1.9638, 1.2638, 6.7957)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A154B #464B15
analogous
#152B4B #1A154B #35154B
triadic
#1A154B #4B1A15 #154B1A
tetradic
#1A154B #4B152B #464B15 #154B35
square
#1A154B #4B152B #464B15 #154B35
split-complementary
#1A154B #4B3515 #2B4B15
monochromatic
#080718 #09081B #1A154B #2B227B #3B30AB

Accessibility & contrast

On white

16.76
#1A154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A154B
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A154B#FFFFFF#000000##FFFFFF
##1A154B1.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4D
Deuteranopia (green-blind)
#001B4A
Tritanopia (blue-blind)
#00232D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1a154b;
/* rgb */ color: rgb(26, 21, 75);
/* oklch */ color: oklch(24.2% 0.096 280.6);
Tailwind
colors: {
  custom: {
    50: '#5d527e',
    500: '#1a154b',
    950: '#000000',
  },
}
SCSS
$custom: #1a154b;
$custom-light: #5d527e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a154b",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 245.556,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24164,
    "c": 0.09588,
    "h": 280.6
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A154B

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

Preview Lab → · Contrast checker → · Palette generator →

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