#1C186A#1C186A

#1C186A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.136 H 275.4°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#1C186A
RGBrgb(28, 24, 106)
HSLhsl(243, 63%, 25%)
HSVhsv(243, 77%, 42%)
CMYKcmyk(73.6%, 77.4%, 0%, 58.4%)
CIE-LABlab(15.17, 30.49, -46.79)
CIE-LCHlch(15.17, 55.84, 303.09°)
OKLaboklab(28.18% 0.0127 -0.1352)
OKLCHoklch(28.18% 0.136 275.4)
XYZxyz(3.4062, 1.9404, 13.8279)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C186A #666A18
analogous
#183D6A #1C186A #45186A
triadic
#1C186A #6A1C18 #186A1C
tetradic
#1C186A #6A183D #666A18 #186A45
square
#1C186A #6A183D #666A18 #186A45
split-complementary
#1C186A #6A4518 #3D6A18
monochromatic
#070619 #0F0D38 #1C186A #29239C #362FCE

Accessibility & contrast

On white

15.13
#1C186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1C186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C186A
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C186A#FFFFFF#000000##FFFFFF
##1C186A1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c186a;
/* rgb */ color: rgb(28, 24, 106);
/* oklch */ color: oklch(28.2% 0.136 275.4);
Tailwind
colors: {
  custom: {
    50: '#655696',
    500: '#1c186a',
    950: '#000000',
  },
}
SCSS
$custom: #1c186a;
$custom-light: #655696;
$custom-dark: #000000;
JSON
{
  "hex": "#1c186a",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 242.927,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28178,
    "c": 0.13585,
    "h": 275.4
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#1C186A
secondary
#9BA03E
accent
#E642DE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1C186A

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

Preview Lab → · Contrast checker → · Palette generator →

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