#1C1E8A#1C1E8A

#1C1E8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.171 H 271.1°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#1C1E8A
RGBrgb(28, 30, 138)
HSLhsl(239, 66%, 33%)
HSVhsv(239, 80%, 54%)
CMYKcmyk(79.7%, 78.3%, 0%, 45.9%)
CIE-LABlab(20.08, 38.20, -59.15)
CIE-LCHlch(20.08, 70.42, 302.86°)
OKLaboklab(32.74% 0.0033 -0.1713)
OKLCHoklch(32.74% 0.171 271.1)
XYZxyz(5.5291, 3.0098, 24.3294)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1E8A #8A881C
analogous
#1C558A #1C1E8A #511C8A
triadic
#1C1E8A #8A1C1E #1E8A1C
tetradic
#1C1E8A #8A1C55 #8A881C #1C8A51
square
#1C1E8A #8A1C55 #8A881C #1C8A51
split-complementary
#1C1E8A #8A511C #558A1C
monochromatic
#070824 #121357 #1C1E8A #2629BD #4749DA

Accessibility & contrast

On white

13.11
#1C1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1C1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1E8A
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1E8A#FFFFFF#000000##FFFFFF
##1C1E8A1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c1e8a;
/* rgb */ color: rgb(28, 30, 138);
/* oklch */ color: oklch(32.7% 0.171 271.1);
Tailwind
colors: {
  custom: {
    50: '#6d5cad',
    500: '#1c1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c1e8a;
$custom-light: #6d5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1e8a",
  "rgb": {
    "r": 28,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 238.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32735,
    "c": 0.1713,
    "h": 271.1
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#1C1E8A
secondary
#BBB946
accent
#E63FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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