#1C4E9D#1C4E9D

#1C4E9D is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.140 H 259.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#1C4E9D
RGBrgb(28, 78, 157)
HSLhsl(217, 70%, 36%)
HSVhsv(217, 82%, 62%)
CMYKcmyk(82.2%, 50.3%, 0%, 38.4%)
CIE-LABlab(34.25, 13.70, -47.67)
CIE-LCHlch(34.25, 49.60, 286.03°)
OKLaboklab(43.76% -0.0254 -0.1372)
OKLCHoklch(43.76% 0.14 259.5)
XYZxyz(9.2869, 8.1289, 32.9713)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E9D #9D6B1C
analogous
#1C8F9D #1C4E9D #2A1C9D
triadic
#1C4E9D #9D1C4E #4E9D1C
tetradic
#1C4E9D #9D1C8F #9D6B1C #1C9D2A
square
#1C4E9D #9D1C8F #9D6B1C #1C9D2A
split-complementary
#1C4E9D #9D2A1C #8F9D1C
monochromatic
#091A35 #133469 #1C4E9D #2568D1 #538AE0

Accessibility & contrast

On white

8.00
#1C4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1C4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4E9D
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E9D#FFFFFF#000000##FFFFFF
##1C4E9D1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1c4e9d;
/* rgb */ color: rgb(28, 78, 157);
/* oklch */ color: oklch(43.8% 0.140 259.5);
Tailwind
colors: {
  custom: {
    50: '#6e7eba',
    500: '#1c4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e9d;
$custom-light: #6e7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e9d",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 216.744,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43757,
    "c": 0.13951,
    "h": 259.5
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#1C4E9D
secondary
#C39751
accent
#A83BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1C4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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