#1C198D#1C198D

#1C198D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.180 H 271.4°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#1C198D
RGBrgb(28, 25, 141)
HSLhsl(242, 70%, 33%)
HSVhsv(242, 82%, 55%)
CMYKcmyk(80.1%, 82.3%, 0%, 44.7%)
CIE-LABlab(19.49, 41.95, -62.00)
CIE-LCHlch(19.49, 74.86, 304.08°)
OKLaboklab(32.43% 0.0044 -0.1795)
OKLCHoklch(32.43% 0.18 271.4)
XYZxyz(5.6326, 2.8646, 25.4502)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C198D #8A8D19
analogous
#19508D #1C198D #56198D
triadic
#1C198D #8D1C19 #198D1C
tetradic
#1C198D #8D1950 #8A8D19 #198D56
square
#1C198D #8D1950 #8A8D19 #198D56
split-complementary
#1C198D #8D5619 #508D19
monochromatic
#070725 #121059 #1C198D #2622C1 #4743DE

Accessibility & contrast

On white

13.35
#1C198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1C198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C198D
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C198D#FFFFFF#000000##FFFFFF
##1C198D1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#00298B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c198d;
/* rgb */ color: rgb(28, 25, 141);
/* oklch */ color: oklch(32.4% 0.180 271.4);
Tailwind
colors: {
  custom: {
    50: '#6f59b0',
    500: '#1c198d',
    950: '#000000',
  },
}
SCSS
$custom: #1c198d;
$custom-light: #6f59b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c198d",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 241.552,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32426,
    "c": 0.17952,
    "h": 271.4
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#1C198D
secondary
#BBBF43
accent
#ED3BE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C198D

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

Preview Lab → · Contrast checker → · Palette generator →

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