#1C1956#1C1956

#1C1956 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.106 H 278.3°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#1C1956
RGBrgb(28, 25, 86)
HSLhsl(243, 55%, 22%)
HSVhsv(243, 71%, 34%)
CMYKcmyk(67.4%, 70.9%, 0%, 66.3%)
CIE-LABlab(13.31, 22.46, -36.52)
CIE-LCHlch(13.31, 42.87, 301.59°)
OKLaboklab(26.21% 0.0154 -0.1052)
OKLCHoklch(26.21% 0.106 278.3)
XYZxyz(2.5057, 1.6138, 8.9818)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1956 #535619
analogous
#193556 #1C1956 #3B1956
triadic
#1C1956 #561C19 #19561C
tetradic
#1C1956 #561935 #535619 #19563B
square
#1C1956 #561935 #535619 #19563B
split-complementary
#1C1956 #563B19 #355619
monochromatic
#080718 #0D0B27 #1C1956 #2B2785 #3B35B5

Accessibility & contrast

On white

15.88
#1C1956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1C1956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1956
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1956#FFFFFF#000000##FFFFFF
##1C19561.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1c1956;
/* rgb */ color: rgb(28, 25, 86);
/* oklch */ color: oklch(26.2% 0.106 278.3);
Tailwind
colors: {
  custom: {
    50: '#605686',
    500: '#1c1956',
    950: '#000000',
  },
}
SCSS
$custom: #1c1956;
$custom-light: #605686;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1956",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 242.951,
    "s": 54.955,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26208,
    "c": 0.10636,
    "h": 278.3
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#1C1956
secondary
#898C3E
accent
#DE4AD7
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #1C1956

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

Preview Lab → · Contrast checker → · Palette generator →

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