#1C154D#1C154D

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

Color values

HEX#1C154D
RGBrgb(28, 21, 77)
HSLhsl(248, 57%, 19%)
HSVhsv(248, 73%, 30%)
CMYKcmyk(63.6%, 72.7%, 0%, 69.8%)
CIE-LABlab(11.41, 21.86, -33.49)
CIE-LCHlch(11.41, 39.99, 303.13°)
OKLaboklab(24.55% 0.0205 -0.0963)
OKLCHoklch(24.55% 0.099 282)
XYZxyz(2.0862, 1.3189, 7.1644)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C154D #464D15
analogous
#152A4D #1C154D #38154D
triadic
#1C154D #4D1C15 #154D1C
tetradic
#1C154D #4D152A #464D15 #154D38
square
#1C154D #4D152A #464D15 #154D38
split-complementary
#1C154D #4D3815 #2A4D15
monochromatic
#090718 #0B081D #1C154D #2D227D #3F2FAD

Accessibility & contrast

On white

16.62
#1C154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C154D
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C154D#FFFFFF#000000##FFFFFF
##1C154D1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c154d;
/* rgb */ color: rgb(28, 21, 77);
/* oklch */ color: oklch(24.6% 0.099 282.0);
Tailwind
colors: {
  custom: {
    50: '#5f537f',
    500: '#1c154d',
    950: '#000000',
  },
}
SCSS
$custom: #1c154d;
$custom-light: #5f537f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c154d",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 247.5,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24553,
    "c": 0.0985,
    "h": 282
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#1C154D
secondary
#7B8539
accent
#E047CD
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1C154D

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

Preview Lab → · Contrast checker → · Palette generator →

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