#1C4D98#1C4D98

#1C4D98 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.134 H 259.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#1C4D98
RGBrgb(28, 77, 152)
HSLhsl(216, 69%, 35%)
HSVhsv(216, 82%, 60%)
CMYKcmyk(81.6%, 49.3%, 0%, 40.4%)
CIE-LABlab(33.61, 12.36, -45.68)
CIE-LCHlch(33.61, 47.33, 285.14°)
OKLaboklab(43.15% -0.0254 -0.1314)
OKLCHoklch(43.15% 0.134 259)
XYZxyz(8.7982, 7.8206, 30.7455)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4D98 #98671C
analogous
#1C8B98 #1C4D98 #291C98
triadic
#1C4D98 #981C4D #4D981C
tetradic
#1C4D98 #981C8B #98671C #1C9829
square
#1C4D98 #981C8B #98671C #1C9829
split-complementary
#1C4D98 #98291C #8B981C
monochromatic
#091931 #123364 #1C4D98 #2667CC #5088DF

Accessibility & contrast

On white

8.19
#1C4D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1C4D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4D98
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4D98#FFFFFF#000000##FFFFFF
##1C4D981.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1c4d98;
/* rgb */ color: rgb(28, 77, 152);
/* oklch */ color: oklch(43.2% 0.134 259.0);
Tailwind
colors: {
  custom: {
    50: '#6d7eb7',
    500: '#1c4d98',
    950: '#000000',
  },
}
SCSS
$custom: #1c4d98;
$custom-light: #6d7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4d98",
  "rgb": {
    "r": 28,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 216.29,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43152,
    "c": 0.1338,
    "h": 259
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#1C4D98
secondary
#C1944E
accent
#A63CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4D98

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

Preview Lab → · Contrast checker → · Palette generator →

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