#1C198C#1C198C

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

Color values

HEX#1C198C
RGBrgb(28, 25, 140)
HSLhsl(242, 70%, 32%)
HSVhsv(242, 82%, 55%)
CMYKcmyk(80%, 82.1%, 0%, 45.1%)
CIE-LABlab(19.37, 41.62, -61.58)
CIE-LCHlch(19.37, 74.33, 304.05°)
OKLaboklab(32.31% 0.0046 -0.1782)
OKLCHoklch(32.31% 0.178 271.5)
XYZxyz(5.5585, 2.8350, 25.0601)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C198C #898C19
analogous
#19508C #1C198C #55198C
triadic
#1C198C #8C1C19 #198C1C
tetradic
#1C198C #8C1950 #898C19 #198C55
square
#1C198C #8C1950 #898C19 #198C55
split-complementary
#1C198C #8C5519 #508C19
monochromatic
#070624 #121058 #1C198C #2622C0 #4642DD

Accessibility & contrast

On white

13.40
#1C198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C198C
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C198C#FFFFFF#000000##FFFFFF
##1C198C1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358F
Deuteranopia (green-blind)
#00298A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c198c;
/* rgb */ color: rgb(28, 25, 140);
/* oklch */ color: oklch(32.3% 0.178 271.5);
Tailwind
colors: {
  custom: {
    50: '#6e59af',
    500: '#1c198c',
    950: '#000000',
  },
}
SCSS
$custom: #1c198c;
$custom-light: #6e59af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c198c",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 241.565,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32305,
    "c": 0.17831,
    "h": 271.5
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#1C198C
secondary
#BBBE43
accent
#ED3BE8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C198C

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

Preview Lab → · Contrast checker → · Palette generator →

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