#1C4C8B#1C4C8B

#1C4C8B is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.0% C 0.117 H 256.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#1C4C8B
RGBrgb(28, 76, 139)
HSLhsl(214, 66%, 33%)
HSVhsv(214, 80%, 55%)
CMYKcmyk(79.9%, 45.3%, 0%, 45.5%)
CIE-LABlab(32.43, 7.79, -39.64)
CIE-LCHlch(32.43, 40.40, 281.11°)
OKLaboklab(41.97% -0.027 -0.1136)
OKLCHoklch(41.97% 0.117 256.6)
XYZxyz(7.7218, 7.2789, 25.4191)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4C8B #8B5B1C
analogous
#1C838B #1C4C8B #231C8B
triadic
#1C4C8B #8B1C4C #4C8B1C
tetradic
#1C4C8B #8B1C83 #8B5B1C #1C8B23
square
#1C4C8B #8B1C83 #8B5B1C #1C8B23
split-complementary
#1C4C8B #8B231C #838B1C
monochromatic
#071425 #123058 #1C4C8B #2668BE #4787DA

Accessibility & contrast

On white

8.55
#1C4C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1C4C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4C8B
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4C8B#FFFFFF#000000##FFFFFF
##1C4C8B1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#15488A
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1c4c8b;
/* rgb */ color: rgb(28, 76, 139);
/* oklch */ color: oklch(42.0% 0.117 256.6);
Tailwind
colors: {
  custom: {
    50: '#6a7dad',
    500: '#1c4c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1c4c8b;
$custom-light: #6a7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4c8b",
  "rgb": {
    "r": 28,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 214.054,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41968,
    "c": 0.11677,
    "h": 256.6
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#1C4C8B
secondary
#BC8947
accent
#9F3EE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1C4C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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