#1C4589#1C4589

#1C4589 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.2% C 0.123 H 260.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#1C4589
RGBrgb(28, 69, 137)
HSLhsl(217, 66%, 32%)
HSVhsv(217, 80%, 54%)
CMYKcmyk(79.6%, 49.6%, 0%, 46.3%)
CIE-LABlab(30.18, 11.74, -42.04)
CIE-LCHlch(30.18, 43.65, 285.60°)
OKLaboklab(40.18% -0.0213 -0.1208)
OKLCHoklch(40.18% 0.123 260)
XYZxyz(7.1207, 6.3084, 24.5044)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4589 #89601C
analogous
#1C7C89 #1C4589 #291C89
triadic
#1C4589 #891C45 #45891C
tetradic
#1C4589 #891C7C #89601C #1C8929
square
#1C4589 #891C7C #89601C #1C8929
split-complementary
#1C4589 #89291C #7C891C
monochromatic
#071223 #122B56 #1C4589 #265FBC #467DD9

Accessibility & contrast

On white

9.28
#1C4589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1C4589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4589
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4589#FFFFFF#000000##FFFFFF
##1C45891.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8C
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1c4589;
/* rgb */ color: rgb(28, 69, 137);
/* oklch */ color: oklch(40.2% 0.123 260.0);
Tailwind
colors: {
  custom: {
    50: '#6a78ac',
    500: '#1c4589',
    950: '#000000',
  },
}
SCSS
$custom: #1c4589;
$custom-light: #6a78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4589",
  "rgb": {
    "r": 28,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 217.431,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40185,
    "c": 0.12265,
    "h": 260
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#1C4589
secondary
#BB8F46
accent
#A93FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1C4589

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

Preview Lab → · Contrast checker → · Palette generator →

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