#1C4D9B#1C4D9B

#1C4D9B is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.138 H 259.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#1C4D9B
RGBrgb(28, 77, 155)
HSLhsl(217, 69%, 36%)
HSVhsv(217, 82%, 61%)
CMYKcmyk(81.9%, 50.3%, 0%, 39.2%)
CIE-LABlab(33.82, 13.57, -47.16)
CIE-LCHlch(33.82, 49.07, 286.05°)
OKLaboklab(43.38% -0.025 -0.1357)
OKLCHoklch(43.38% 0.138 259.6)
XYZxyz(9.0470, 7.9201, 32.0559)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4D9B #9B6A1C
analogous
#1C8C9B #1C4D9B #2A1C9B
triadic
#1C4D9B #9B1C4D #4D9B1C
tetradic
#1C4D9B #9B1C8C #9B6A1C #1C9B2A
square
#1C4D9B #9B1C8C #9B6A1C #1C9B2A
split-complementary
#1C4D9B #9B2A1C #8C9B1C
monochromatic
#091933 #133367 #1C4D9B #2567CF #5288E0

Accessibility & contrast

On white

8.13
#1C4D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1C4D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4D9B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4D9B#FFFFFF#000000##FFFFFF
##1C4D9B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4d9b;
/* rgb */ color: rgb(28, 77, 155);
/* oklch */ color: oklch(43.4% 0.138 259.6);
Tailwind
colors: {
  custom: {
    50: '#6e7eb9',
    500: '#1c4d9b',
    950: '#000000',
  },
}
SCSS
$custom: #1c4d9b;
$custom-light: #6e7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4d9b",
  "rgb": {
    "r": 28,
    "g": 77,
    "b": 155
  },
  "hsl": {
    "h": 216.85,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4338,
    "c": 0.13798,
    "h": 259.6
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#1C4D9B
secondary
#C39650
accent
#A83CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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