#1C188E#1C188E

#1C188E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.182 H 271.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#1C188E
RGBrgb(28, 24, 142)
HSLhsl(242, 71%, 33%)
HSVhsv(242, 83%, 56%)
CMYKcmyk(80.3%, 83.1%, 0%, 44.3%)
CIE-LABlab(19.44, 42.78, -62.71)
CIE-LCHlch(19.44, 75.91, 304.30°)
OKLaboklab(32.43% 0.0044 -0.1815)
OKLCHoklch(32.43% 0.182 271.4)
XYZxyz(5.6864, 2.8525, 25.8368)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C188E #8A8E18
analogous
#184F8E #1C188E #57188E
triadic
#1C188E #8E1C18 #188E1C
tetradic
#1C188E #8E184F #8A8E18 #188E57
square
#1C188E #8E184F #8A8E18 #188E57
split-complementary
#1C188E #8E5718 #4F8E18
monochromatic
#070625 #120F5A #1C188E #2621C2 #4741DF

Accessibility & contrast

On white

13.37
#1C188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1C188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C188E
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C188E#FFFFFF#000000##FFFFFF
##1C188E1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c188e;
/* rgb */ color: rgb(28, 24, 142);
/* oklch */ color: oklch(32.4% 0.182 271.4);
Tailwind
colors: {
  custom: {
    50: '#6f58b0',
    500: '#1c188e',
    950: '#000000',
  },
}
SCSS
$custom: #1c188e;
$custom-light: #6f58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c188e",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 242.034,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32427,
    "c": 0.18155,
    "h": 271.4
  },
  "luminance": 0.02853
}

Semantic roles & 50–950 ramp

primary
#1C188E
secondary
#BBC042
accent
#EE3AE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1C188E

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

Preview Lab → · Contrast checker → · Palette generator →

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