#1C2174#1C2174

#1C2174 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.139 H 272.2°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#1C2174
RGBrgb(28, 33, 116)
HSLhsl(237, 61%, 28%)
HSVhsv(237, 76%, 45%)
CMYKcmyk(75.9%, 71.6%, 0%, 54.5%)
CIE-LABlab(18.34, 28.37, -48.06)
CIE-LCHlch(18.34, 55.81, 300.56°)
OKLaboklab(30.78% 0.0054 -0.139)
OKLCHoklch(30.78% 0.139 272.2)
XYZxyz(4.1741, 2.5951, 16.8005)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2174 #746F1C
analogous
#1C4D74 #1C2174 #431C74
triadic
#1C2174 #741C21 #21741C
tetradic
#1C2174 #741C4D #746F1C #1C7443
square
#1C2174 #741C4D #746F1C #1C7443
split-complementary
#1C2174 #74431C #4D741C
monochromatic
#060719 #101343 #1C2174 #282FA5 #3B43D0

Accessibility & contrast

On white

13.82
#1C2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1C2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2174
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2174#FFFFFF#000000##FFFFFF
##1C21741.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c2174;
/* rgb */ color: rgb(28, 33, 116);
/* oklch */ color: oklch(30.8% 0.139 272.2);
Tailwind
colors: {
  custom: {
    50: '#675c9d',
    500: '#1c2174',
    950: '#000000',
  },
}
SCSS
$custom: #1c2174;
$custom-light: #675c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2174",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 236.591,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30775,
    "c": 0.1391,
    "h": 272.2
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#1C2174
secondary
#A8A343
accent
#DB44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1C2174

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

Preview Lab → · Contrast checker → · Palette generator →

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