#1C4898#1C4898

#1C4898 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.140 H 261.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#1C4898
RGBrgb(28, 72, 152)
HSLhsl(219, 69%, 35%)
HSVhsv(219, 82%, 60%)
CMYKcmyk(81.6%, 52.6%, 0%, 40.4%)
CIE-LABlab(32.14, 15.76, -48.05)
CIE-LCHlch(32.14, 50.57, 288.16°)
OKLaboklab(42.03% -0.0215 -0.1384)
OKLCHoklch(42.03% 0.14 261.2)
XYZxyz(8.4617, 7.1476, 30.6333)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4898 #986C1C
analogous
#1C8698 #1C4898 #2E1C98
triadic
#1C4898 #981C48 #48981C
tetradic
#1C4898 #981C86 #986C1C #1C982E
square
#1C4898 #981C86 #986C1C #1C982E
split-complementary
#1C4898 #982E1C #86981C
monochromatic
#091731 #123064 #1C4898 #2660CC #5082DF

Accessibility & contrast

On white

8.64
#1C4898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1C4898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4898
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4898#FFFFFF#000000##FFFFFF
##1C48981.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1c4898;
/* rgb */ color: rgb(28, 72, 152);
/* oklch */ color: oklch(42.0% 0.140 261.2);
Tailwind
colors: {
  custom: {
    50: '#6d7ab7',
    500: '#1c4898',
    950: '#000000',
  },
}
SCSS
$custom: #1c4898;
$custom-light: #6d7ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4898",
  "rgb": {
    "r": 28,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 218.71,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.14009,
    "h": 261.2
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#1C4898
secondary
#C1994E
accent
#AD3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4898

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

Preview Lab → · Contrast checker → · Palette generator →

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