#1C4F7D#1C4F7D

#1C4F7D is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.094 H 249.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#1C4F7D
RGBrgb(28, 79, 125)
HSLhsl(208, 63%, 30%)
HSVhsv(208, 78%, 49%)
CMYKcmyk(77.6%, 36.8%, 0%, 51%)
CIE-LABlab(32.52, 0.19, -30.86)
CIE-LCHlch(32.52, 30.87, 270.35°)
OKLaboklab(41.76% -0.0333 -0.0878)
OKLCHoklch(41.76% 0.094 249.2)
XYZxyz(6.9751, 7.3187, 20.4431)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F7D #7D4A1C
analogous
#1C7D7B #1C4F7D #1C1E7D
triadic
#1C4F7D #7D1C4F #4F7D1C
tetradic
#1C4F7D #7B1C7D #7D4A1C #1E7D1C
square
#1C4F7D #7B1C7D #7D4A1C #1E7D1C
split-complementary
#1C4F7D #7D1C1E #7D7B1C
monochromatic
#061019 #112F4B #1C4F7D #276FAF #3F8ED4

Accessibility & contrast

On white

8.52
#1C4F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C4F7D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F7D#FFFFFF#000000##FFFFFF
##1C4F7D1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517F
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1c4f7d;
/* rgb */ color: rgb(28, 79, 125);
/* oklch */ color: oklch(41.8% 0.094 249.2);
Tailwind
colors: {
  custom: {
    50: '#6780a3',
    500: '#1c4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f7d;
$custom-light: #6780a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f7d",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 208.454,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.41761,
    "c": 0.0939,
    "h": 249.2
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#1C4F7D
secondary
#B17844
accent
#9041E6
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1C4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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