#1C4F89#1C4F89

#1C4F89 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.110 H 254.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#1C4F89
RGBrgb(28, 79, 137)
HSLhsl(212, 66%, 32%)
HSVhsv(212, 80%, 54%)
CMYKcmyk(79.6%, 42.3%, 0%, 46.3%)
CIE-LABlab(33.23, 4.97, -37.14)
CIE-LCHlch(33.23, 37.47, 277.63°)
OKLaboklab(42.55% -0.0301 -0.1062)
OKLCHoklch(42.55% 0.11 254.2)
XYZxyz(7.7885, 7.6441, 24.7270)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F89 #89561C
analogous
#1C8589 #1C4F89 #201C89
triadic
#1C4F89 #891C4F #4F891C
tetradic
#1C4F89 #891C85 #89561C #1C8920
square
#1C4F89 #891C85 #89561C #1C8920
split-complementary
#1C4F89 #89201C #85891C
monochromatic
#071423 #123256 #1C4F89 #266CBC #468BD9

Accessibility & contrast

On white

8.30
#1C4F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1C4F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F89
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F89#FFFFFF#000000##FFFFFF
##1C4F891.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548B
Deuteranopia (green-blind)
#204A88
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1c4f89;
/* rgb */ color: rgb(28, 79, 137);
/* oklch */ color: oklch(42.5% 0.110 254.2);
Tailwind
colors: {
  custom: {
    50: '#6a7fac',
    500: '#1c4f89',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f89;
$custom-light: #6a7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f89",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 211.927,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42545,
    "c": 0.11038,
    "h": 254.2
  },
  "luminance": 0.07645
}

Semantic roles & 50–950 ramp

primary
#1C4F89
secondary
#BB8446
accent
#993FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1C4F89

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

Preview Lab → · Contrast checker → · Palette generator →

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