#1C4F7B#1C4F7B

#1C4F7B is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.6% C 0.091 H 248.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1C4F7B
RGBrgb(28, 79, 123)
HSLhsl(208, 63%, 30%)
HSVhsv(208, 77%, 48%)
CMYKcmyk(77.2%, 35.8%, 0%, 51.8%)
CIE-LABlab(32.41, -0.60, -29.80)
CIE-LCHlch(32.41, 29.81, 268.85°)
OKLaboklab(41.64% -0.0339 -0.0847)
OKLCHoklch(41.64% 0.091 248.2)
XYZxyz(6.8487, 7.2681, 19.7770)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F7B #7B481C
analogous
#1C7B77 #1C4F7B #1C207B
triadic
#1C4F7B #7B1C4F #4F7B1C
tetradic
#1C4F7B #771C7B #7B481C #207B1C
square
#1C4F7B #771C7B #7B481C #207B1C
split-complementary
#1C4F7B #7B1C20 #7B771C
monochromatic
#061019 #112F49 #1C4F7B #276FAD #3E8ED3

Accessibility & contrast

On white

8.56
#1C4F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1C4F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F7B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F7B#FFFFFF#000000##FFFFFF
##1C4F7B1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1c4f7b;
/* rgb */ color: rgb(28, 79, 123);
/* oklch */ color: oklch(41.6% 0.091 248.2);
Tailwind
colors: {
  custom: {
    50: '#6680a1',
    500: '#1c4f7b',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f7b;
$custom-light: #6680a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f7b",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 207.789,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41636,
    "c": 0.09122,
    "h": 248.2
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#1C4F7B
secondary
#AF7544
accent
#8E42E6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1C4F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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