#1C189F#1C189F

#1C189F is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.5% C 0.202 H 270.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#1C189F
RGBrgb(28, 24, 159)
HSLhsl(242, 74%, 36%)
HSVhsv(242, 85%, 62%)
CMYKcmyk(82.4%, 84.9%, 0%, 37.6%)
CIE-LABlab(21.59, 48.17, -69.64)
CIE-LCHlch(21.59, 84.68, 304.67°)
OKLaboklab(34.53% 0.0004 -0.2015)
OKLCHoklch(34.53% 0.202 270.1)
XYZxyz(7.0614, 3.4025, 33.0788)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C189F #9B9F18
analogous
#18579F #1C189F #5F189F
triadic
#1C189F #9F1C18 #189F1C
tetradic
#1C189F #9F1857 #9B9F18 #189F5F
square
#1C189F #9F1857 #9B9F18 #189F5F
split-complementary
#1C189F #9F5F18 #579F18
monochromatic
#090835 #13106A #1C189F #2520D4 #524DE4

Accessibility & contrast

On white

12.50
#1C189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1C189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C189F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C189F#FFFFFF#000000##FFFFFF
##1C189F1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002D9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c189f;
/* rgb */ color: rgb(28, 24, 159);
/* oklch */ color: oklch(34.5% 0.202 270.1);
Tailwind
colors: {
  custom: {
    50: '#745abd',
    500: '#1c189f',
    950: '#000000',
  },
}
SCSS
$custom: #1c189f;
$custom-light: #745abd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c189f",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 241.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34525,
    "c": 0.20155,
    "h": 270.1
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#1C189F
secondary
#C3C64D
accent
#F037EB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1C189F

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

Preview Lab → · Contrast checker → · Palette generator →

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