#1C4789#1C4789

#1C4789 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.6% C 0.120 H 259.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#1C4789
RGBrgb(28, 71, 137)
HSLhsl(216, 66%, 32%)
HSVhsv(216, 80%, 54%)
CMYKcmyk(79.6%, 48.2%, 0%, 46.3%)
CIE-LABlab(30.78, 10.37, -41.07)
CIE-LCHlch(30.78, 42.36, 284.17°)
OKLaboklab(40.65% -0.023 -0.1179)
OKLCHoklch(40.65% 0.12 259)
XYZxyz(7.2458, 6.5587, 24.5461)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4789 #895E1C
analogous
#1C7E89 #1C4789 #271C89
triadic
#1C4789 #891C47 #47891C
tetradic
#1C4789 #891C7E #895E1C #1C8927
square
#1C4789 #891C7E #895E1C #1C8927
split-complementary
#1C4789 #89271C #7E891C
monochromatic
#071223 #122D56 #1C4789 #2661BC #4680D9

Accessibility & contrast

On white

9.08
#1C4789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1C4789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4789
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4789#FFFFFF#000000##FFFFFF
##1C47891.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8B
Deuteranopia (green-blind)
#054488
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1c4789;
/* rgb */ color: rgb(28, 71, 137);
/* oklch */ color: oklch(40.6% 0.120 259.0);
Tailwind
colors: {
  custom: {
    50: '#6a79ac',
    500: '#1c4789',
    950: '#000000',
  },
}
SCSS
$custom: #1c4789;
$custom-light: #6a79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4789",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 216.33,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40648,
    "c": 0.12012,
    "h": 259
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#1C4789
secondary
#BB8D46
accent
#A63FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1C4789

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

Preview Lab → · Contrast checker → · Palette generator →

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