#1C2184#1C2184

#1C2184 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.161 H 271.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#1C2184
RGBrgb(28, 33, 132)
HSLhsl(237, 65%, 31%)
HSVhsv(237, 79%, 52%)
CMYKcmyk(78.8%, 75%, 0%, 48.2%)
CIE-LABlab(20.04, 34.28, -55.45)
CIE-LCHlch(20.04, 65.19, 301.73°)
OKLaboklab(32.51% 0.0031 -0.1605)
OKLCHoklch(32.51% 0.161 271.1)
XYZxyz(5.1862, 3.0000, 22.1310)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2184 #847F1C
analogous
#1C5584 #1C2184 #4B1C84
triadic
#1C2184 #841C21 #21841C
tetradic
#1C2184 #841C55 #847F1C #1C844B
square
#1C2184 #841C55 #847F1C #1C844B
split-complementary
#1C2184 #844B1C #55841C
monochromatic
#07081F #111452 #1C2184 #272EB6 #434AD7

Accessibility & contrast

On white

13.12
#1C2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1C2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2184
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2184#FFFFFF#000000##FFFFFF
##1C21841.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c2184;
/* rgb */ color: rgb(28, 33, 132);
/* oklch */ color: oklch(32.5% 0.161 271.1);
Tailwind
colors: {
  custom: {
    50: '#6b5da9',
    500: '#1c2184',
    950: '#000000',
  },
}
SCSS
$custom: #1c2184;
$custom-light: #6b5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2184",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 237.115,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32508,
    "c": 0.16056,
    "h": 271.1
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#1C2184
secondary
#B7B245
accent
#E040E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2184

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

Preview Lab → · Contrast checker → · Palette generator →

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