#1C185B#1C185B

#1C185B is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.115 H 277.8°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#1C185B
RGBrgb(28, 24, 91)
HSLhsl(244, 58%, 23%)
HSVhsv(244, 74%, 36%)
CMYKcmyk(69.2%, 73.6%, 0%, 64.3%)
CIE-LABlab(13.56, 25.01, -39.48)
CIE-LCHlch(13.56, 46.74, 302.35°)
OKLaboklab(26.54% 0.0155 -0.1139)
OKLCHoklch(26.54% 0.115 277.8)
XYZxyz(2.6932, 1.6553, 10.0731)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C185B #575B18
analogous
#18365B #1C185B #3D185B
triadic
#1C185B #5B1C18 #185B1C
tetradic
#1C185B #5B1836 #575B18 #185B3D
square
#1C185B #5B1836 #575B18 #185B3D
split-complementary
#1C185B #5B3D18 #365B18
monochromatic
#070618 #0D0B2B #1C185B #2B258B #3A32BC

Accessibility & contrast

On white

15.78
#1C185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1C185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C185B
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C185B#FFFFFF#000000##FFFFFF
##1C185B1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00205A
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1c185b;
/* rgb */ color: rgb(28, 24, 91);
/* oklch */ color: oklch(26.5% 0.115 277.8);
Tailwind
colors: {
  custom: {
    50: '#62558a',
    500: '#1c185b',
    950: '#000000',
  },
}
SCSS
$custom: #1c185b;
$custom-light: #62558a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c185b",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 243.582,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26542,
    "c": 0.11498,
    "h": 277.8
  },
  "luminance": 0.01655
}

Semantic roles & 50–950 ramp

primary
#1C185B
secondary
#8D923D
accent
#E146D8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1C185B

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

Preview Lab → · Contrast checker → · Palette generator →

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