#1C2162#1C2162

#1C2162 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.0% C 0.113 H 273.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#1C2162
RGBrgb(28, 33, 98)
HSLhsl(236, 56%, 25%)
HSVhsv(236, 71%, 38%)
CMYKcmyk(71.4%, 66.3%, 0%, 61.6%)
CIE-LABlab(16.58, 21.45, -39.20)
CIE-LCHlch(16.58, 44.69, 298.69°)
OKLaboklab(28.95% 0.007 -0.1131)
OKLCHoklch(28.95% 0.113 273.6)
XYZxyz(3.2266, 2.2161, 11.8106)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2162 #625D1C
analogous
#1C4462 #1C2162 #3A1C62
triadic
#1C2162 #621C21 #21621C
tetradic
#1C2162 #621C44 #625D1C #1C623A
square
#1C2162 #621C44 #625D1C #1C623A
split-complementary
#1C2162 #623A1C #44621C
monochromatic
#070818 #0E1132 #1C2162 #2A3192 #3741C1

Accessibility & contrast

On white

14.55
#1C2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2162
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2162#FFFFFF#000000##FFFFFF
##1C21621.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1c2162;
/* rgb */ color: rgb(28, 33, 98);
/* oklch */ color: oklch(29.0% 0.113 273.6);
Tailwind
colors: {
  custom: {
    50: '#625c8f',
    500: '#1c2162',
    950: '#000000',
  },
}
SCSS
$custom: #1c2162;
$custom-light: #625c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2162",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 235.714,
    "s": 55.556,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28951,
    "c": 0.11328,
    "h": 273.6
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#1C2162
secondary
#979143
accent
#D449DF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1C2162

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

Preview Lab → · Contrast checker → · Palette generator →

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