#1C2160#1C2160

#1C2160 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.110 H 273.7°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#1C2160
RGBrgb(28, 33, 96)
HSLhsl(236, 55%, 24%)
HSVhsv(236, 71%, 38%)
CMYKcmyk(70.8%, 65.6%, 0%, 62.4%)
CIE-LABlab(16.40, 20.67, -38.18)
CIE-LCHlch(16.40, 43.42, 298.43°)
OKLaboklab(28.76% 0.0071 -0.1101)
OKLCHoklch(28.76% 0.11 273.7)
XYZxyz(3.1334, 2.1788, 11.3195)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2160 #605B1C
analogous
#1C4360 #1C2160 #391C60
triadic
#1C2160 #601C21 #21601C
tetradic
#1C2160 #601C43 #605B1C #1C6039
square
#1C2160 #601C43 #605B1C #1C6039
split-complementary
#1C2160 #60391C #43601C
monochromatic
#070818 #0E1131 #1C2160 #2A318F #3842BF

Accessibility & contrast

On white

14.63
#1C2160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1C2160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2160
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2160#FFFFFF#000000##FFFFFF
##1C21601.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1c2160;
/* rgb */ color: rgb(28, 33, 96);
/* oklch */ color: oklch(28.8% 0.110 273.7);
Tailwind
colors: {
  custom: {
    50: '#625c8e',
    500: '#1c2160',
    950: '#000000',
  },
}
SCSS
$custom: #1c2160;
$custom-light: #625c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2160",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 235.588,
    "s": 54.839,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28758,
    "c": 0.11029,
    "h": 273.7
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#1C2160
secondary
#958F42
accent
#D34ADE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1C2160

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

Preview Lab → · Contrast checker → · Palette generator →

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