#1C197D#1C197D

#1C197D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.160 H 272.9°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#1C197D
RGBrgb(28, 25, 125)
HSLhsl(242, 67%, 29%)
HSVhsv(242, 80%, 49%)
CMYKcmyk(77.6%, 80%, 0%, 51%)
CIE-LABlab(17.56, 36.57, -55.11)
CIE-LCHlch(17.56, 66.14, 303.57°)
OKLaboklab(30.51% 0.008 -0.1595)
OKLCHoklch(30.51% 0.16 272.9)
XYZxyz(4.5270, 2.4223, 19.6270)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C197D #7A7D19
analogous
#19487D #1C197D #4E197D
triadic
#1C197D #7D1C19 #197D1C
tetradic
#1C197D #7D1948 #7A7D19 #197D4E
square
#1C197D #7D1948 #7A7D19 #197D4E
split-complementary
#1C197D #7D4E19 #487D19
monochromatic
#06051A #110F4A #1C197D #2723B0 #3E39D7

Accessibility & contrast

On white

14.15
#1C197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1C197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C197D
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C197D#FFFFFF#000000##FFFFFF
##1C197D1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c197d;
/* rgb */ color: rgb(28, 25, 125);
/* oklch */ color: oklch(30.5% 0.160 272.9);
Tailwind
colors: {
  custom: {
    50: '#6a58a4',
    500: '#1c197d',
    950: '#000000',
  },
}
SCSS
$custom: #1c197d;
$custom-light: #6a58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c197d",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 241.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30515,
    "c": 0.15968,
    "h": 272.9
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#1C197D
secondary
#AEB140
accent
#EA3EE4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1C197D

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

Preview Lab → · Contrast checker → · Palette generator →

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