#1C4F8B#1C4F8B

#1C4F8B is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.113 H 254.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#1C4F8B
RGBrgb(28, 79, 139)
HSLhsl(212, 66%, 33%)
HSVhsv(212, 80%, 55%)
CMYKcmyk(79.9%, 43.2%, 0%, 45.5%)
CIE-LABlab(33.35, 5.78, -38.17)
CIE-LCHlch(33.35, 38.60, 278.61°)
OKLaboklab(42.68% -0.0297 -0.1092)
OKLCHoklch(42.68% 0.113 254.8)
XYZxyz(7.9333, 7.7020, 25.4896)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F8B #8B581C
analogous
#1C878B #1C4F8B #201C8B
triadic
#1C4F8B #8B1C4F #4F8B1C
tetradic
#1C4F8B #8B1C87 #8B581C #1C8B20
square
#1C4F8B #8B1C87 #8B581C #1C8B20
split-complementary
#1C4F8B #8B201C #878B1C
monochromatic
#071525 #123258 #1C4F8B #266CBE #478BDA

Accessibility & contrast

On white

8.27
#1C4F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1C4F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F8B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F8B#FFFFFF#000000##FFFFFF
##1C4F8B1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548D
Deuteranopia (green-blind)
#1E4A8A
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1c4f8b;
/* rgb */ color: rgb(28, 79, 139);
/* oklch */ color: oklch(42.7% 0.113 254.8);
Tailwind
colors: {
  custom: {
    50: '#6a7fad',
    500: '#1c4f8b',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f8b;
$custom-light: #6a7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f8b",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 212.432,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42682,
    "c": 0.11317,
    "h": 254.8
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#1C4F8B
secondary
#BC8647
accent
#9B3EE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1C4F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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