#1C188F#1C188F

#1C188F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.183 H 271.3°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#1C188F
RGBrgb(28, 24, 143)
HSLhsl(242, 71%, 33%)
HSVhsv(242, 83%, 56%)
CMYKcmyk(80.4%, 83.2%, 0%, 43.9%)
CIE-LABlab(19.57, 43.11, -63.13)
CIE-LCHlch(19.57, 76.44, 304.33°)
OKLaboklab(32.55% 0.0042 -0.1827)
OKLCHoklch(32.55% 0.183 271.3)
XYZxyz(5.7618, 2.8827, 26.2340)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C188F #8B8F18
analogous
#184F8F #1C188F #58188F
triadic
#1C188F #8F1C18 #188F1C
tetradic
#1C188F #8F184F #8B8F18 #188F58
square
#1C188F #8F184F #8B8F18 #188F58
split-complementary
#1C188F #8F5818 #4F8F18
monochromatic
#070626 #120F5B #1C188F #2621C3 #4742DF

Accessibility & contrast

On white

13.32
#1C188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1C188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C188F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C188F#FFFFFF#000000##FFFFFF
##1C188F1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c188f;
/* rgb */ color: rgb(28, 24, 143);
/* oklch */ color: oklch(32.5% 0.183 271.3);
Tailwind
colors: {
  custom: {
    50: '#6f58b1',
    500: '#1c188f',
    950: '#000000',
  },
}
SCSS
$custom: #1c188f;
$custom-light: #6f58b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c188f",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 242.017,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32549,
    "c": 0.18276,
    "h": 271.3
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#1C188F
secondary
#BCC043
accent
#EE3AE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C188F

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

Preview Lab → · Contrast checker → · Palette generator →

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