#1C2168#1C2168

#1C2168 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.5% C 0.122 H 273.1°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#1C2168
RGBrgb(28, 33, 104)
HSLhsl(236, 58%, 26%)
HSVhsv(236, 73%, 41%)
CMYKcmyk(73.1%, 68.3%, 0%, 59.2%)
CIE-LABlab(17.15, 23.79, -42.23)
CIE-LCHlch(17.15, 48.47, 299.39°)
OKLaboklab(29.54% 0.0067 -0.1219)
OKLCHoklch(29.54% 0.122 273.1)
XYZxyz(3.5206, 2.3337, 13.3589)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2168 #68631C
analogous
#1C4768 #1C2168 #3D1C68
triadic
#1C2168 #681C21 #21681C
tetradic
#1C2168 #681C47 #68631C #1C683D
square
#1C2168 #681C47 #68631C #1C683D
split-complementary
#1C2168 #683D1C #47681C
monochromatic
#060818 #0F1238 #1C2168 #293098 #3640C8

Accessibility & contrast

On white

14.32
#1C2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1C2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2168
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2168#FFFFFF#000000##FFFFFF
##1C21681.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c2168;
/* rgb */ color: rgb(28, 33, 104);
/* oklch */ color: oklch(29.5% 0.122 273.1);
Tailwind
colors: {
  custom: {
    50: '#645c94',
    500: '#1c2168',
    950: '#000000',
  },
}
SCSS
$custom: #1c2168;
$custom-light: #645c94;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2168",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 236.053,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29541,
    "c": 0.1221,
    "h": 273.1
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#1C2168
secondary
#9D9743
accent
#D747E1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1C2168

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

Preview Lab → · Contrast checker → · Palette generator →

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