#1C4989#1C4989

#1C4989 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.118 H 257.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#1C4989
RGBrgb(28, 73, 137)
HSLhsl(215, 66%, 32%)
HSVhsv(215, 80%, 54%)
CMYKcmyk(79.6%, 46.7%, 0%, 46.3%)
CIE-LABlab(31.39, 9.01, -40.09)
CIE-LCHlch(31.39, 41.09, 282.66°)
OKLaboklab(41.12% -0.0247 -0.115)
OKLCHoklch(41.12% 0.118 257.9)
XYZxyz(7.3751, 6.8172, 24.5892)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4989 #895C1C
analogous
#1C8089 #1C4989 #251C89
triadic
#1C4989 #891C49 #49891C
tetradic
#1C4989 #891C80 #895C1C #1C8925
square
#1C4989 #891C80 #895C1C #1C8925
split-complementary
#1C4989 #89251C #80891C
monochromatic
#071323 #122E56 #1C4989 #2664BC #4683D9

Accessibility & contrast

On white

8.88
#1C4989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1C4989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4989
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4989#FFFFFF#000000##FFFFFF
##1C49891.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8B
Deuteranopia (green-blind)
#0E4588
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1c4989;
/* rgb */ color: rgb(28, 73, 137);
/* oklch */ color: oklch(41.1% 0.118 257.9);
Tailwind
colors: {
  custom: {
    50: '#6a7bac',
    500: '#1c4989',
    950: '#000000',
  },
}
SCSS
$custom: #1c4989;
$custom-light: #6a7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4989",
  "rgb": {
    "r": 28,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 215.229,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41116,
    "c": 0.11762,
    "h": 257.9
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#1C4989
secondary
#BB8B46
accent
#A33FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1C4989

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

Preview Lab → · Contrast checker → · Palette generator →

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