#1C2159#1C2159

#1C2159 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.100 H 274.2°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#1C2159
RGBrgb(28, 33, 89)
HSLhsl(235, 52%, 23%)
HSVhsv(235, 69%, 35%)
CMYKcmyk(68.5%, 62.9%, 0%, 65.1%)
CIE-LABlab(15.78, 17.92, -34.53)
CIE-LCHlch(15.78, 38.90, 297.43°)
OKLaboklab(28.1% 0.0073 -0.0993)
OKLCHoklch(28.1% 0.1 274.2)
XYZxyz(2.8253, 2.0556, 9.6971)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2159 #59541C
analogous
#1C3F59 #1C2159 #351C59
triadic
#1C2159 #591C21 #21591C
tetradic
#1C2159 #591C3F #59541C #1C5935
square
#1C2159 #591C3F #59541C #1C5935
split-complementary
#1C2159 #59351C #3F591C
monochromatic
#070917 #0D102A #1C2159 #2B3288 #3944B6

Accessibility & contrast

On white

14.88
#1C2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1C2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2159
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2159#FFFFFF#000000##FFFFFF
##1C21591.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1c2159;
/* rgb */ color: rgb(28, 33, 89);
/* oklch */ color: oklch(28.1% 0.100 274.2);
Tailwind
colors: {
  custom: {
    50: '#605c88',
    500: '#1c2159',
    950: '#000000',
  },
}
SCSS
$custom: #1c2159;
$custom-light: #605c88;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2159",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 235.082,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28103,
    "c": 0.09959,
    "h": 274.2
  },
  "luminance": 0.02056
}

Semantic roles & 50–950 ramp

primary
#1C2159
secondary
#8F8842
accent
#D04CDC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #1C2159

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

Preview Lab → · Contrast checker → · Palette generator →

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