#1C198E#1C198E

#1C198E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.181 H 271.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#1C198E
RGBrgb(28, 25, 142)
HSLhsl(242, 70%, 33%)
HSVhsv(242, 82%, 56%)
CMYKcmyk(80.3%, 82.4%, 0%, 44.3%)
CIE-LABlab(19.62, 42.28, -62.42)
CIE-LCHlch(19.62, 75.39, 304.11°)
OKLaboklab(32.55% 0.0041 -0.1807)
OKLCHoklch(32.55% 0.181 271.3)
XYZxyz(5.7074, 2.8945, 25.8438)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C198E #8B8E19
analogous
#19518E #1C198E #56198E
triadic
#1C198E #8E1C19 #198E1C
tetradic
#1C198E #8E1951 #8B8E19 #198E56
square
#1C198E #8E1951 #8B8E19 #198E56
split-complementary
#1C198E #8E5619 #518E19
monochromatic
#070726 #12105A #1C198E #2622C2 #4743DE

Accessibility & contrast

On white

13.30
#1C198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1C198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C198E
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C198E#FFFFFF#000000##FFFFFF
##1C198E1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c198e;
/* rgb */ color: rgb(28, 25, 142);
/* oklch */ color: oklch(32.5% 0.181 271.3);
Tailwind
colors: {
  custom: {
    50: '#6f59b0',
    500: '#1c198e',
    950: '#000000',
  },
}
SCSS
$custom: #1c198e;
$custom-light: #6f59b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c198e",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 241.538,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32547,
    "c": 0.18074,
    "h": 271.3
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C198E

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

Preview Lab → · Contrast checker → · Palette generator →

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