#1C2157#1C2157

#1C2157 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.096 H 274.3°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#1C2157
RGBrgb(28, 33, 87)
HSLhsl(235, 51%, 23%)
HSVhsv(235, 68%, 34%)
CMYKcmyk(67.8%, 62.1%, 0%, 65.9%)
CIE-LABlab(15.60, 17.13, -33.46)
CIE-LCHlch(15.60, 37.59, 297.11°)
OKLaboklab(27.92% 0.0073 -0.0962)
OKLCHoklch(27.92% 0.096 274.3)
XYZxyz(2.7425, 2.0225, 9.2608)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2157 #57521C
analogous
#1C3F57 #1C2157 #341C57
triadic
#1C2157 #571C21 #21571C
tetradic
#1C2157 #571C3F #57521C #1C5734
square
#1C2157 #571C3F #57521C #1C5734
split-complementary
#1C2157 #57341C #3F571C
monochromatic
#070917 #0D0F29 #1C2157 #2B3385 #3A44B4

Accessibility & contrast

On white

14.95
#1C2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1C2157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2157
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2157#FFFFFF#000000##FFFFFF
##1C21571.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A59
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1c2157;
/* rgb */ color: rgb(28, 33, 87);
/* oklch */ color: oklch(27.9% 0.096 274.3);
Tailwind
colors: {
  custom: {
    50: '#605c87',
    500: '#1c2157',
    950: '#000000',
  },
}
SCSS
$custom: #1c2157;
$custom-light: #605c87;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2157",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 234.915,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27921,
    "c": 0.09646,
    "h": 274.3
  },
  "luminance": 0.02023
}

Semantic roles & 50–950 ramp

primary
#1C2157
secondary
#8D8642
accent
#CF4DDB
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1C2157

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

Preview Lab → · Contrast checker → · Palette generator →

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