#1C4F7E#1C4F7E

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

Color values

HEX#1C4F7E
RGBrgb(28, 79, 126)
HSLhsl(209, 64%, 30%)
HSVhsv(209, 78%, 49%)
CMYKcmyk(77.8%, 37.3%, 0%, 50.6%)
CIE-LABlab(32.58, 0.58, -31.39)
CIE-LCHlch(32.58, 31.40, 271.07°)
OKLaboklab(41.82% -0.033 -0.0893)
OKLCHoklch(41.82% 0.095 249.7)
XYZxyz(7.0393, 7.3444, 20.7812)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F7E #7E4B1C
analogous
#1C7E7C #1C4F7E #1C1E7E
triadic
#1C4F7E #7E1C4F #4F7E1C
tetradic
#1C4F7E #7C1C7E #7E4B1C #1E7E1C
square
#1C4F7E #7C1C7E #7E4B1C #1E7E1C
split-complementary
#1C4F7E #7E1C1E #7E7C1C
monochromatic
#06101A #11304C #1C4F7E #276EB0 #408DD5

Accessibility & contrast

On white

8.51
#1C4F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1C4F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F7E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F7E#FFFFFF#000000##FFFFFF
##1C4F7E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#2B497D
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1c4f7e;
/* rgb */ color: rgb(28, 79, 126);
/* oklch */ color: oklch(41.8% 0.095 249.7);
Tailwind
colors: {
  custom: {
    50: '#6780a3',
    500: '#1c4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f7e;
$custom-light: #6780a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f7e",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 208.776,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41824,
    "c": 0.09525,
    "h": 249.7
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#1C4F7E
secondary
#B27944
accent
#9141E7
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1C4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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