#1C197E#1C197E

#1C197E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.161 H 272.8°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#1C197E
RGBrgb(28, 25, 126)
HSLhsl(242, 67%, 30%)
HSVhsv(242, 80%, 49%)
CMYKcmyk(77.8%, 80.2%, 0%, 50.6%)
CIE-LABlab(17.68, 36.92, -55.55)
CIE-LCHlch(17.68, 66.70, 303.61°)
OKLaboklab(30.63% 0.0078 -0.1608)
OKLCHoklch(30.63% 0.161 272.8)
XYZxyz(4.5912, 2.4480, 19.9652)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C197E #7B7E19
analogous
#19497E #1C197E #4F197E
triadic
#1C197E #7E1C19 #197E1C
tetradic
#1C197E #7E1949 #7B7E19 #197E4F
square
#1C197E #7E1949 #7B7E19 #197E4F
split-complementary
#1C197E #7E4F19 #497E19
monochromatic
#06051A #110F4B #1C197E #2723B1 #3E3AD8

Accessibility & contrast

On white

14.10
#1C197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1C197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C197E
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C197E#FFFFFF#000000##FFFFFF
##1C197E1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c197e;
/* rgb */ color: rgb(28, 25, 126);
/* oklch */ color: oklch(30.6% 0.161 272.8);
Tailwind
colors: {
  custom: {
    50: '#6b58a5',
    500: '#1c197e',
    950: '#000000',
  },
}
SCSS
$custom: #1c197e;
$custom-light: #6b58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c197e",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 241.782,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30633,
    "c": 0.16095,
    "h": 272.8
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#1C197E
secondary
#AFB241
accent
#EA3EE5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1C197E

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

Preview Lab → · Contrast checker → · Palette generator →

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