#1C4F9E#1C4F9E

#1C4F9E is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.140 H 259.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#1C4F9E
RGBrgb(28, 79, 158)
HSLhsl(216, 70%, 36%)
HSVhsv(216, 82%, 62%)
CMYKcmyk(82.3%, 50%, 0%, 38%)
CIE-LABlab(34.61, 13.43, -47.68)
CIE-LCHlch(34.61, 49.54, 285.73°)
OKLaboklab(44.06% -0.0261 -0.1372)
OKLCHoklch(44.06% 0.14 259.2)
XYZxyz(9.4442, 8.3063, 33.4467)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F9E #9E6B1C
analogous
#1C909E #1C4F9E #2A1C9E
triadic
#1C4F9E #9E1C4F #4F9E1C
tetradic
#1C4F9E #9E1C90 #9E6B1C #1C9E2A
square
#1C4F9E #9E1C90 #9E6B1C #1C9E2A
split-complementary
#1C4F9E #9E2A1C #909E1C
monochromatic
#0A1B36 #13356A #1C4F9E #2569D2 #548BE1

Accessibility & contrast

On white

7.89
#1C4F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1C4F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F9E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F9E#FFFFFF#000000##FFFFFF
##1C4F9E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1c4f9e;
/* rgb */ color: rgb(28, 79, 158);
/* oklch */ color: oklch(44.1% 0.140 259.2);
Tailwind
colors: {
  custom: {
    50: '#6f7fbb',
    500: '#1c4f9e',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f9e;
$custom-light: #6f7fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f9e",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 216.462,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44058,
    "c": 0.13965,
    "h": 259.2
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#1C4F9E
secondary
#C49752
accent
#A73BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1C4F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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