#1C1942#1C1942

#1C1942 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.075 H 282.6°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#1C1942
RGBrgb(28, 25, 66)
HSLhsl(244, 45%, 18%)
HSVhsv(244, 62%, 26%)
CMYKcmyk(57.6%, 62.1%, 0%, 74.1%)
CIE-LABlab(11.52, 14.89, -25.65)
CIE-LCHlch(11.52, 29.65, 300.13°)
OKLaboklab(24.33% 0.0163 -0.0733)
OKLCHoklch(24.33% 0.075 282.6)
XYZxyz(1.8096, 1.3354, 5.3156)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1942 #3F4219
analogous
#192A42 #1C1942 #301942
triadic
#1C1942 #421C19 #19421C
tetradic
#1C1942 #42192A #3F4219 #194230
square
#1C1942 #42192A #3F4219 #194230
split-complementary
#1C1942 #423019 #2A4219
monochromatic
#090816 #090816 #1C1942 #2F2A6E #423B9B

Accessibility & contrast

On white

16.57
#1C1942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1C1942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1942
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1942#FFFFFF#000000##FFFFFF
##1C19421.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032043
Deuteranopia (green-blind)
#011D41
Tritanopia (blue-blind)
#0D222A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1c1942;
/* rgb */ color: rgb(28, 25, 66);
/* oklch */ color: oklch(24.3% 0.075 282.6);
Tailwind
colors: {
  custom: {
    50: '#5c5577',
    500: '#1c1942',
    950: '#000000',
  },
}
SCSS
$custom: #1c1942;
$custom-light: #5c5577;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1942",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 244.39,
    "s": 45.055,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24328,
    "c": 0.07508,
    "h": 282.6
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#1C1942
secondary
#74783F
accent
#D553CB
background
#F5F4F7
surface
#E9E8ED
border
#C5C4C8
text
#040308
muted
#79787B

Preview Lab

Preview with #1C1942

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

Preview Lab → · Contrast checker → · Palette generator →

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