#1C198B#1C198B

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

Color values

HEX#1C198B
RGBrgb(28, 25, 139)
HSLhsl(242, 70%, 32%)
HSVhsv(242, 82%, 55%)
CMYKcmyk(79.9%, 82%, 0%, 45.5%)
CIE-LABlab(19.25, 41.29, -61.16)
CIE-LCHlch(19.25, 73.79, 304.02°)
OKLaboklab(32.18% 0.0048 -0.177)
OKLCHoklch(32.18% 0.177 271.6)
XYZxyz(5.4851, 2.8056, 24.6735)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C198B #888B19
analogous
#194F8B #1C198B #55198B
triadic
#1C198B #8B1C19 #198B1C
tetradic
#1C198B #8B194F #888B19 #198B55
square
#1C198B #8B194F #888B19 #198B55
split-complementary
#1C198B #8B5519 #4F8B19
monochromatic
#070623 #121057 #1C198B #2622BF #4641DD

Accessibility & contrast

On white

13.45
#1C198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1C198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C198B
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C198B#FFFFFF#000000##FFFFFF
##1C198B1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c198b;
/* rgb */ color: rgb(28, 25, 139);
/* oklch */ color: oklch(32.2% 0.177 271.6);
Tailwind
colors: {
  custom: {
    50: '#6e59ae',
    500: '#1c198b',
    950: '#000000',
  },
}
SCSS
$custom: #1c198b;
$custom-light: #6e59ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c198b",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 241.579,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32184,
    "c": 0.1771,
    "h": 271.6
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#1C198B
secondary
#BABE42
accent
#EC3BE8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #1C198B

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

Preview Lab → · Contrast checker → · Palette generator →

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