#1C2139#1C2139

#1C2139 is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.6% C 0.046 H 273.8°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#1C2139
RGBrgb(28, 33, 57)
HSLhsl(230, 34%, 17%)
HSVhsv(230, 51%, 22%)
CMYKcmyk(50.9%, 42.1%, 0%, 77.6%)
CIE-LABlab(13.41, 5.53, -16.28)
CIE-LCHlch(13.41, 17.20, 288.77°)
OKLaboklab(25.56% 0.003 -0.0458)
OKLCHoklch(25.56% 0.046 273.8)
XYZxyz(1.7610, 1.6299, 4.0919)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2139 #39341C
analogous
#1C3039 #1C2139 #261C39
triadic
#1C2139 #391C21 #21391C
tetradic
#1C2139 #391C30 #39341C #1C3926
square
#1C2139 #391C30 #39341C #1C3926
split-complementary
#1C2139 #39261C #30391C
monochromatic
#0A0C15 #0A0C15 #1C2139 #303962 #44518B

Accessibility & contrast

On white

15.84
#1C2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1C2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2139
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2139#FFFFFF#000000##FFFFFF
##1C21391.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243A
Deuteranopia (green-blind)
#162138
Tritanopia (blue-blind)
#12262A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1c2139;
/* rgb */ color: rgb(28, 33, 57);
/* oklch */ color: oklch(25.6% 0.046 273.8);
Tailwind
colors: {
  custom: {
    50: '#5a5c6f',
    500: '#1c2139',
    950: '#000000',
  },
}
SCSS
$custom: #1c2139;
$custom-light: #5a5c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2139",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 229.655,
    "s": 34.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25557,
    "c": 0.04589,
    "h": 273.8
  },
  "luminance": 0.0163
}

Semantic roles & 50–950 ramp

primary
#1C2139
secondary
#6E6643
accent
#B75ECA
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040407
muted
#79797A

Preview Lab

Preview with #1C2139

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

Preview Lab → · Contrast checker → · Palette generator →

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