#1C4998#1C4998

#1C4998 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.139 H 260.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#1C4998
RGBrgb(28, 73, 152)
HSLhsl(218, 69%, 35%)
HSVhsv(218, 82%, 60%)
CMYKcmyk(81.6%, 52%, 0%, 40.4%)
CIE-LABlab(32.43, 15.08, -47.58)
CIE-LCHlch(32.43, 49.91, 287.58°)
OKLaboklab(42.25% -0.0223 -0.137)
OKLCHoklch(42.25% 0.139 260.8)
XYZxyz(8.5269, 7.2779, 30.6551)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4998 #986B1C
analogous
#1C8798 #1C4998 #2D1C98
triadic
#1C4998 #981C49 #49981C
tetradic
#1C4998 #981C87 #986B1C #1C982D
square
#1C4998 #981C87 #986B1C #1C982D
split-complementary
#1C4998 #982D1C #87981C
monochromatic
#091731 #123064 #1C4998 #2662CC #5084DF

Accessibility & contrast

On white

8.55
#1C4998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1C4998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4998
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4998#FFFFFF#000000##FFFFFF
##1C49981.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1c4998;
/* rgb */ color: rgb(28, 73, 152);
/* oklch */ color: oklch(42.3% 0.139 260.8);
Tailwind
colors: {
  custom: {
    50: '#6d7bb7',
    500: '#1c4998',
    950: '#000000',
  },
}
SCSS
$custom: #1c4998;
$custom-light: #6d7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4998",
  "rgb": {
    "r": 28,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 218.226,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42252,
    "c": 0.13882,
    "h": 260.8
  },
  "luminance": 0.07279
}

Semantic roles & 50–950 ramp

primary
#1C4998
secondary
#C1984E
accent
#AC3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4998

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

Preview Lab → · Contrast checker → · Palette generator →

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