#1C186E#1C186E

#1C186E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.141 H 274.8°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#1C186E
RGBrgb(28, 24, 110)
HSLhsl(243, 64%, 26%)
HSVhsv(243, 78%, 43%)
CMYKcmyk(74.5%, 78.2%, 0%, 56.9%)
CIE-LABlab(15.62, 31.91, -48.66)
CIE-LCHlch(15.62, 58.19, 303.26°)
OKLaboklab(28.63% 0.0119 -0.1407)
OKLCHoklch(28.63% 0.141 274.8)
XYZxyz(3.6191, 2.0256, 14.9491)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C186E #6A6E18
analogous
#183F6E #1C186E #47186E
triadic
#1C186E #6E1C18 #186E1C
tetradic
#1C186E #6E183F #6A6E18 #186E47
square
#1C186E #6E183F #6A6E18 #186E47
split-complementary
#1C186E #6E4718 #3F6E18
monochromatic
#060519 #0F0D3C #1C186E #2923A0 #362FD2

Accessibility & contrast

On white

14.94
#1C186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1C186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C186E
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C186E#FFFFFF#000000##FFFFFF
##1C186E1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1c186e;
/* rgb */ color: rgb(28, 24, 110);
/* oklch */ color: oklch(28.6% 0.141 274.8);
Tailwind
colors: {
  custom: {
    50: '#675699',
    500: '#1c186e',
    950: '#000000',
  },
}
SCSS
$custom: #1c186e;
$custom-light: #675699;
$custom-dark: #000000;
JSON
{
  "hex": "#1c186e",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 242.791,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28631,
    "c": 0.14121,
    "h": 274.8
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#1C186E
secondary
#9FA43E
accent
#E741DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C186E

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

Preview Lab → · Contrast checker → · Palette generator →

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