#1C4D9D#1C4D9D

#1C4D9D is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.141 H 259.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#1C4D9D
RGBrgb(28, 77, 157)
HSLhsl(217, 70%, 36%)
HSVhsv(217, 82%, 62%)
CMYKcmyk(82.2%, 51%, 0%, 38.4%)
CIE-LABlab(33.96, 14.37, -48.14)
CIE-LCHlch(33.96, 50.24, 286.63°)
OKLaboklab(43.53% -0.0247 -0.1386)
OKLCHoklch(43.53% 0.141 259.9)
XYZxyz(9.2164, 7.9878, 32.9478)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4D9D #9D6C1C
analogous
#1C8E9D #1C4D9D #2B1C9D
triadic
#1C4D9D #9D1C4D #4D9D1C
tetradic
#1C4D9D #9D1C8E #9D6C1C #1C9D2B
square
#1C4D9D #9D1C8E #9D6C1C #1C9D2B
split-complementary
#1C4D9D #9D2B1C #8E9D1C
monochromatic
#091A35 #133469 #1C4D9D #2566D1 #5389E0

Accessibility & contrast

On white

8.08
#1C4D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1C4D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4D9D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4D9D#FFFFFF#000000##FFFFFF
##1C4D9D1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4d9d;
/* rgb */ color: rgb(28, 77, 157);
/* oklch */ color: oklch(43.5% 0.141 259.9);
Tailwind
colors: {
  custom: {
    50: '#6f7eba',
    500: '#1c4d9d',
    950: '#000000',
  },
}
SCSS
$custom: #1c4d9d;
$custom-light: #6f7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4d9d",
  "rgb": {
    "r": 28,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 217.209,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43534,
    "c": 0.14076,
    "h": 259.9
  },
  "luminance": 0.07989
}

Semantic roles & 50–950 ramp

primary
#1C4D9D
secondary
#C39851
accent
#A93BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #1C4D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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