#1C185E#1C185E

#1C185E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.9% C 0.119 H 277.2°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#1C185E
RGBrgb(28, 24, 94)
HSLhsl(243, 59%, 23%)
HSVhsv(243, 74%, 37%)
CMYKcmyk(70.2%, 74.5%, 0%, 63.1%)
CIE-LABlab(13.87, 26.12, -40.98)
CIE-LCHlch(13.87, 48.60, 302.51°)
OKLaboklab(26.86% 0.015 -0.1183)
OKLCHoklch(26.86% 0.119 277.2)
XYZxyz(2.8252, 1.7081, 10.7683)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C185E #5A5E18
analogous
#18375E #1C185E #3F185E
triadic
#1C185E #5E1C18 #185E1C
tetradic
#1C185E #5E1837 #5A5E18 #185E3F
square
#1C185E #5E1837 #5A5E18 #185E3F
split-complementary
#1C185E #5E3F18 #375E18
monochromatic
#070618 #0D0C2D #1C185E #2B248F #3931C0

Accessibility & contrast

On white

15.65
#1C185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1C185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C185E
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C185E#FFFFFF#000000##FFFFFF
##1C185E1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1c185e;
/* rgb */ color: rgb(28, 24, 94);
/* oklch */ color: oklch(26.9% 0.119 277.2);
Tailwind
colors: {
  custom: {
    50: '#62558c',
    500: '#1c185e',
    950: '#000000',
  },
}
SCSS
$custom: #1c185e;
$custom-light: #62558c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c185e",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 243.429,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2686,
    "c": 0.11926,
    "h": 277.2
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#1C185E
secondary
#8F943D
accent
#E345DA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1C185E

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

Preview Lab → · Contrast checker → · Palette generator →

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