#1C4B97#1C4B97

#1C4B97 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.135 H 259.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#1C4B97
RGBrgb(28, 75, 151)
HSLhsl(217, 69%, 35%)
HSVhsv(217, 81%, 59%)
CMYKcmyk(81.5%, 50.3%, 0%, 40.8%)
CIE-LABlab(32.95, 13.31, -46.14)
CIE-LCHlch(32.95, 48.02, 286.09°)
OKLaboklab(42.62% -0.024 -0.1327)
OKLCHoklch(42.62% 0.135 259.8)
XYZxyz(8.5788, 7.5124, 30.2700)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4B97 #97681C
analogous
#1C8997 #1C4B97 #2A1C97
triadic
#1C4B97 #971C4B #4B971C
tetradic
#1C4B97 #971C89 #97681C #1C972A
square
#1C4B97 #971C89 #97681C #1C972A
split-complementary
#1C4B97 #972A1C #89971C
monochromatic
#091830 #123163 #1C4B97 #2665CB #4F86DE

Accessibility & contrast

On white

8.39
#1C4B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1C4B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4B97
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4B97#FFFFFF#000000##FFFFFF
##1C4B971.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1c4b97;
/* rgb */ color: rgb(28, 75, 151);
/* oklch */ color: oklch(42.6% 0.135 259.8);
Tailwind
colors: {
  custom: {
    50: '#6d7cb6',
    500: '#1c4b97',
    950: '#000000',
  },
}
SCSS
$custom: #1c4b97;
$custom-light: #6d7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4b97",
  "rgb": {
    "r": 28,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 217.073,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42623,
    "c": 0.1349,
    "h": 259.8
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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