#1C4F9D#1C4F9D

#1C4F9D is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.138 H 259.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#1C4F9D
RGBrgb(28, 79, 157)
HSLhsl(216, 70%, 36%)
HSVhsv(216, 82%, 62%)
CMYKcmyk(82.2%, 49.7%, 0%, 38.4%)
CIE-LABlab(34.54, 13.02, -47.19)
CIE-LCHlch(34.54, 48.96, 285.43°)
OKLaboklab(43.98% -0.0262 -0.1358)
OKLCHoklch(43.98% 0.138 259.1)
XYZxyz(9.3584, 8.2720, 32.9952)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F9D #9D6A1C
analogous
#1C909D #1C4F9D #2A1C9D
triadic
#1C4F9D #9D1C4F #4F9D1C
tetradic
#1C4F9D #9D1C90 #9D6A1C #1C9D2A
square
#1C4F9D #9D1C90 #9D6A1C #1C9D2A
split-complementary
#1C4F9D #9D2A1C #909D1C
monochromatic
#091B35 #133569 #1C4F9D #2569D1 #538BE0

Accessibility & contrast

On white

7.91
#1C4F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1C4F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F9D
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F9D#FFFFFF#000000##FFFFFF
##1C4F9D1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2157A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1c4f9d;
/* rgb */ color: rgb(28, 79, 157);
/* oklch */ color: oklch(44.0% 0.138 259.1);
Tailwind
colors: {
  custom: {
    50: '#6e7fba',
    500: '#1c4f9d',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f9d;
$custom-light: #6e7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f9d",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 216.279,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43983,
    "c": 0.13827,
    "h": 259.1
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#1C4F9D
secondary
#C39651
accent
#A63BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1C4F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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