#1C197F#1C197F

#1C197F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.162 H 272.7°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#1C197F
RGBrgb(28, 25, 127)
HSLhsl(242, 67%, 30%)
HSVhsv(242, 80%, 50%)
CMYKcmyk(78%, 80.3%, 0%, 50.2%)
CIE-LABlab(17.80, 37.26, -55.99)
CIE-LCHlch(17.80, 67.25, 303.64°)
OKLaboklab(30.75% 0.0076 -0.162)
OKLCHoklch(30.75% 0.162 272.7)
XYZxyz(4.6560, 2.4740, 20.3067)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C197F #7C7F19
analogous
#19497F #1C197F #4F197F
triadic
#1C197F #7F1C19 #197F1C
tetradic
#1C197F #7F1949 #7C7F19 #197F4F
square
#1C197F #7F1949 #7C7F19 #197F4F
split-complementary
#1C197F #7F4F19 #497F19
monochromatic
#06051A #110F4C #1C197F #2723B2 #3F3AD8

Accessibility & contrast

On white

14.05
#1C197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C197F
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C197F#FFFFFF#000000##FFFFFF
##1C197F1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c197f;
/* rgb */ color: rgb(28, 25, 127);
/* oklch */ color: oklch(30.8% 0.162 272.7);
Tailwind
colors: {
  custom: {
    50: '#6b58a5',
    500: '#1c197f',
    950: '#000000',
  },
}
SCSS
$custom: #1c197f;
$custom-light: #6b58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c197f",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 241.765,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3075,
    "c": 0.16222,
    "h": 272.7
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#1C197F
secondary
#B0B341
accent
#EA3EE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C197F

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

Preview Lab → · Contrast checker → · Palette generator →

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