#1C2384#1C2384

#1C2384 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.158 H 270.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1C2384
RGBrgb(28, 35, 132)
HSLhsl(236, 65%, 31%)
HSVhsv(236, 79%, 52%)
CMYKcmyk(78.8%, 73.5%, 0%, 48.2%)
CIE-LABlab(20.50, 33.03, -54.70)
CIE-LCHlch(20.50, 63.90, 301.12°)
OKLaboklab(32.83% 0.0022 -0.1584)
OKLCHoklch(32.83% 0.158 270.8)
XYZxyz(5.2434, 3.1143, 22.1501)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2384 #847D1C
analogous
#1C5784 #1C2384 #491C84
triadic
#1C2384 #841C23 #23841C
tetradic
#1C2384 #841C57 #847D1C #1C8449
square
#1C2384 #841C57 #847D1C #1C8449
split-complementary
#1C2384 #84491C #57841C
monochromatic
#07081F #111652 #1C2384 #2730B6 #434DD7

Accessibility & contrast

On white

12.94
#1C2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1C2384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2384
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2384#FFFFFF#000000##FFFFFF
##1C23841.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002C82
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2384;
/* rgb */ color: rgb(28, 35, 132);
/* oklch */ color: oklch(32.8% 0.158 270.8);
Tailwind
colors: {
  custom: {
    50: '#6b5ea9',
    500: '#1c2384',
    950: '#000000',
  },
}
SCSS
$custom: #1c2384;
$custom-light: #6b5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2384",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 235.962,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32831,
    "c": 0.15838,
    "h": 270.8
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#1C2384
secondary
#B7AF45
accent
#DD40E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2384

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

Preview Lab → · Contrast checker → · Palette generator →

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