#1C188B#1C188B

#1C188B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.178 H 271.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#1C188B
RGBrgb(28, 24, 139)
HSLhsl(242, 71%, 32%)
HSVhsv(242, 83%, 55%)
CMYKcmyk(79.9%, 82.7%, 0%, 45.5%)
CIE-LABlab(19.07, 41.81, -61.45)
CIE-LCHlch(19.07, 74.33, 304.23°)
OKLaboklab(32.06% 0.0051 -0.1779)
OKLCHoklch(32.06% 0.178 271.6)
XYZxyz(5.4642, 2.7636, 24.6665)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C188B #878B18
analogous
#184E8B #1C188B #56188B
triadic
#1C188B #8B1C18 #188B1C
tetradic
#1C188B #8B184E #878B18 #188B56
square
#1C188B #8B184E #878B18 #188B56
split-complementary
#1C188B #8B5618 #4E8B18
monochromatic
#070623 #110F57 #1C188B #2721BF #453FDE

Accessibility & contrast

On white

13.52
#1C188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1C188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C188B
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C188B#FFFFFF#000000##FFFFFF
##1C188B1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002889
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c188b;
/* rgb */ color: rgb(28, 24, 139);
/* oklch */ color: oklch(32.1% 0.178 271.6);
Tailwind
colors: {
  custom: {
    50: '#6e58ae',
    500: '#1c188b',
    950: '#000000',
  },
}
SCSS
$custom: #1c188b;
$custom-light: #6e58ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c188b",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 242.087,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32061,
    "c": 0.17793,
    "h": 271.6
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#1C188B
secondary
#BABE40
accent
#ED3AE7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #1C188B

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

Preview Lab → · Contrast checker → · Palette generator →

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