#1C196B#1C196B

#1C196B is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.136 H 275.0°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#1C196B
RGBrgb(28, 25, 107)
HSLhsl(242, 62%, 26%)
HSVhsv(242, 77%, 42%)
CMYKcmyk(73.8%, 76.6%, 0%, 58%)
CIE-LABlab(15.50, 30.23, -46.89)
CIE-LCHlch(15.50, 55.79, 302.81°)
OKLaboklab(28.45% 0.0119 -0.1356)
OKLCHoklch(28.45% 0.136 275)
XYZxyz(3.4795, 2.0033, 14.1104)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C196B #686B19
analogous
#193F6B #1C196B #45196B
triadic
#1C196B #6B1C19 #196B1C
tetradic
#1C196B #6B193F #686B19 #196B45
square
#1C196B #6B193F #686B19 #196B45
split-complementary
#1C196B #6B4519 #3F6B19
monochromatic
#060619 #0F0D39 #1C196B #29259D #3630CE

Accessibility & contrast

On white

14.99
#1C196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1C196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C196B
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C196B#FFFFFF#000000##FFFFFF
##1C196B1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6D
Deuteranopia (green-blind)
#00236A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1c196b;
/* rgb */ color: rgb(28, 25, 107);
/* oklch */ color: oklch(28.4% 0.136 275.0);
Tailwind
colors: {
  custom: {
    50: '#665796',
    500: '#1c196b',
    950: '#000000',
  },
}
SCSS
$custom: #1c196b;
$custom-light: #665796;
$custom-dark: #000000;
JSON
{
  "hex": "#1c196b",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 242.195,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28449,
    "c": 0.13608,
    "h": 275
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#1C196B
secondary
#9DA13F
accent
#E543DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1C196B

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

Preview Lab → · Contrast checker → · Palette generator →

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