#1C4C9D#1C4C9D

#1C4C9D is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.142 H 260.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1C4C9D
RGBrgb(28, 76, 157)
HSLhsl(218, 70%, 36%)
HSVhsv(218, 82%, 62%)
CMYKcmyk(82.2%, 51.6%, 0%, 38.4%)
CIE-LABlab(33.67, 15.05, -48.61)
CIE-LCHlch(33.67, 50.89, 287.20°)
OKLaboklab(43.31% -0.0239 -0.14)
OKLCHoklch(43.31% 0.142 260.3)
XYZxyz(9.1469, 7.8490, 32.9247)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4C9D #9D6D1C
analogous
#1C8D9D #1C4C9D #2C1C9D
triadic
#1C4C9D #9D1C4C #4C9D1C
tetradic
#1C4C9D #9D1C8D #9D6D1C #1C9D2C
square
#1C4C9D #9D1C8D #9D6D1C #1C9D2C
split-complementary
#1C4C9D #9D2C1C #8D9D1C
monochromatic
#091A35 #133369 #1C4C9D #2565D1 #5388E0

Accessibility & contrast

On white

8.17
#1C4C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1C4C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4C9D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4C9D#FFFFFF#000000##FFFFFF
##1C4C9D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1755A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1c4c9d;
/* rgb */ color: rgb(28, 76, 157);
/* oklch */ color: oklch(43.3% 0.142 260.3);
Tailwind
colors: {
  custom: {
    50: '#6f7dba',
    500: '#1c4c9d',
    950: '#000000',
  },
}
SCSS
$custom: #1c4c9d;
$custom-light: #6f7dba;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4c9d",
  "rgb": {
    "r": 28,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 217.674,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43311,
    "c": 0.14202,
    "h": 260.3
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#1C4C9D
secondary
#C39951
accent
#AB3BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #1C4C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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