#1C4B98#1C4B98

#1C4B98 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.136 H 259.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#1C4B98
RGBrgb(28, 75, 152)
HSLhsl(217, 69%, 35%)
HSVhsv(217, 82%, 60%)
CMYKcmyk(81.6%, 50.7%, 0%, 40.4%)
CIE-LABlab(33.02, 13.71, -46.63)
CIE-LCHlch(33.02, 48.61, 286.39°)
OKLaboklab(42.7% -0.0238 -0.1342)
OKLCHoklch(42.7% 0.136 259.9)
XYZxyz(8.6604, 7.5450, 30.6996)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4B98 #98691C
analogous
#1C8998 #1C4B98 #2B1C98
triadic
#1C4B98 #981C4B #4B981C
tetradic
#1C4B98 #981C89 #98691C #1C982B
square
#1C4B98 #981C89 #98691C #1C982B
split-complementary
#1C4B98 #982B1C #89981C
monochromatic
#091831 #123164 #1C4B98 #2664CC #5086DF

Accessibility & contrast

On white

8.37
#1C4B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1C4B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4B98
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4B98#FFFFFF#000000##FFFFFF
##1C4B981.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1c4b98;
/* rgb */ color: rgb(28, 75, 152);
/* oklch */ color: oklch(42.7% 0.136 259.9);
Tailwind
colors: {
  custom: {
    50: '#6d7cb7',
    500: '#1c4b98',
    950: '#000000',
  },
}
SCSS
$custom: #1c4b98;
$custom-light: #6d7cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4b98",
  "rgb": {
    "r": 28,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 217.258,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.427,
    "c": 0.1363,
    "h": 259.9
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#1C4B98
secondary
#C1964E
accent
#A93CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4B98

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

Preview Lab → · Contrast checker → · Palette generator →

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