#1C4D8B#1C4D8B

#1C4D8B is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.2% C 0.116 H 256.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1C4D8B
RGBrgb(28, 77, 139)
HSLhsl(214, 66%, 33%)
HSVhsv(214, 80%, 55%)
CMYKcmyk(79.9%, 44.6%, 0%, 45.5%)
CIE-LABlab(32.74, 7.11, -39.15)
CIE-LCHlch(32.74, 39.79, 280.30°)
OKLaboklab(42.21% -0.0279 -0.1121)
OKLCHoklch(42.21% 0.116 256)
XYZxyz(7.7912, 7.4178, 25.4422)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4D8B #8B5A1C
analogous
#1C848B #1C4D8B #231C8B
triadic
#1C4D8B #8B1C4D #4D8B1C
tetradic
#1C4D8B #8B1C84 #8B5A1C #1C8B23
square
#1C4D8B #8B1C84 #8B5A1C #1C8B23
split-complementary
#1C4D8B #8B231C #848B1C
monochromatic
#071525 #123158 #1C4D8B #2669BE #4788DA

Accessibility & contrast

On white

8.45
#1C4D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1C4D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4D8B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4D8B#FFFFFF#000000##FFFFFF
##1C4D8B1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#18488A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1c4d8b;
/* rgb */ color: rgb(28, 77, 139);
/* oklch */ color: oklch(42.2% 0.116 256.0);
Tailwind
colors: {
  custom: {
    50: '#6a7ead',
    500: '#1c4d8b',
    950: '#000000',
  },
}
SCSS
$custom: #1c4d8b;
$custom-light: #6a7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4d8b",
  "rgb": {
    "r": 28,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 213.514,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.11555,
    "h": 256
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#1C4D8B
secondary
#BC8847
accent
#9E3EE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1C4D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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