#1B154A#1B154A

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

Color values

HEX#1B154A
RGBrgb(27, 21, 74)
HSLhsl(247, 56%, 19%)
HSVhsv(247, 72%, 29%)
CMYKcmyk(63.5%, 71.6%, 0%, 71%)
CIE-LABlab(11.02, 20.56, -32.05)
CIE-LCHlch(11.02, 38.08, 302.67°)
OKLaboklab(24.16% 0.0193 -0.0922)
OKLCHoklch(24.16% 0.094 281.8)
XYZxyz(1.9558, 1.2636, 6.6181)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B154A #444A15
analogous
#15294A #1B154A #35154A
triadic
#1B154A #4A1B15 #154A1B
tetradic
#1B154A #4A1529 #444A15 #154A35
square
#1B154A #4A1529 #444A15 #154A35
split-complementary
#1B154A #4A3515 #294A15
monochromatic
#090718 #0A071A #1B154A #2C237A #3E30A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B154A#FFFFFF#000000##FFFFFF
##1B154A1.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)
#001F4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#03222D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b154a;
/* rgb */ color: rgb(27, 21, 74);
/* oklch */ color: oklch(24.2% 0.094 281.8);
Tailwind
colors: {
  custom: {
    50: '#5d527d',
    500: '#1b154a',
    950: '#000000',
  },
}
SCSS
$custom: #1b154a;
$custom-light: #5d527d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b154a",
  "rgb": {
    "r": 27,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 246.792,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24157,
    "c": 0.09418,
    "h": 281.8
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

primary
#1B154A
secondary
#7A8239
accent
#DF49CE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1B154A

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

Preview Lab → · Contrast checker → · Palette generator →

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