#1C4E98#1C4E98

#1C4E98 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.4% C 0.133 H 258.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#1C4E98
RGBrgb(28, 78, 152)
HSLhsl(216, 69%, 35%)
HSVhsv(216, 82%, 60%)
CMYKcmyk(81.6%, 48.7%, 0%, 40.4%)
CIE-LABlab(33.90, 11.68, -45.21)
CIE-LCHlch(33.90, 46.69, 284.49°)
OKLaboklab(43.38% -0.0262 -0.1299)
OKLCHoklch(43.38% 0.133 258.6)
XYZxyz(8.8687, 7.9616, 30.7690)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E98 #98661C
analogous
#1C8C98 #1C4E98 #281C98
triadic
#1C4E98 #981C4E #4E981C
tetradic
#1C4E98 #981C8C #98661C #1C9828
square
#1C4E98 #981C8C #98661C #1C9828
split-complementary
#1C4E98 #98281C #8C981C
monochromatic
#091931 #123364 #1C4E98 #2669CC #5089DF

Accessibility & contrast

On white

8.10
#1C4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1C4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4E98
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E98#FFFFFF#000000##FFFFFF
##1C4E981.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4e98;
/* rgb */ color: rgb(28, 78, 152);
/* oklch */ color: oklch(43.4% 0.133 258.6);
Tailwind
colors: {
  custom: {
    50: '#6d7eb7',
    500: '#1c4e98',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e98;
$custom-light: #6d7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e98",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 215.806,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4338,
    "c": 0.13255,
    "h": 258.6
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#1C4E98
secondary
#C1934E
accent
#A53CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1C4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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