#1C4E8F#1C4E8F

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

Color values

HEX#1C4E8F
RGBrgb(28, 78, 143)
HSLhsl(214, 67%, 34%)
HSVhsv(214, 80%, 56%)
CMYKcmyk(80.4%, 45.5%, 0%, 43.9%)
CIE-LABlab(33.30, 8.06, -40.70)
CIE-LCHlch(33.30, 41.49, 281.20°)
OKLaboklab(42.72% -0.0279 -0.1167)
OKLCHoklch(42.72% 0.12 256.5)
XYZxyz(8.1594, 7.6779, 27.0332)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E8F #8F5D1C
analogous
#1C878F #1C4E8F #231C8F
triadic
#1C4E8F #8F1C4E #4E8F1C
tetradic
#1C4E8F #8F1C87 #8F5D1C #1C8F23
square
#1C4E8F #8F1C87 #8F5D1C #1C8F23
split-complementary
#1C4E8F #8F231C #878F1C
monochromatic
#081629 #12325C #1C4E8F #266AC2 #4A89DC

Accessibility & contrast

On white

8.28
#1C4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C4E8F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E8F#FFFFFF#000000##FFFFFF
##1C4E8F1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5491
Deuteranopia (green-blind)
#14498E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1c4e8f;
/* rgb */ color: rgb(28, 78, 143);
/* oklch */ color: oklch(42.7% 0.120 256.5);
Tailwind
colors: {
  custom: {
    50: '#6b7fb0',
    500: '#1c4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e8f;
$custom-light: #6b7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e8f",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 213.913,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.11996,
    "h": 256.5
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#1C4E8F
secondary
#BE8B49
accent
#9F3EEA
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1C4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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