#1C4E8C#1C4E8C

#1C4E8C is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.116 H 255.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#1C4E8C
RGBrgb(28, 78, 140)
HSLhsl(213, 67%, 33%)
HSVhsv(213, 80%, 55%)
CMYKcmyk(80%, 44.3%, 0%, 45.1%)
CIE-LABlab(33.11, 6.85, -39.17)
CIE-LCHlch(33.11, 39.77, 279.91°)
OKLaboklab(42.51% -0.0285 -0.1122)
OKLCHoklch(42.51% 0.116 255.7)
XYZxyz(7.9351, 7.5882, 25.8523)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E8C #8C5A1C
analogous
#1C868C #1C4E8C #221C8C
triadic
#1C4E8C #8C1C4E #4E8C1C
tetradic
#1C4E8C #8C1C86 #8C5A1C #1C8C22
square
#1C4E8C #8C1C86 #8C5A1C #1C8C22
split-complementary
#1C4E8C #8C221C #868C1C
monochromatic
#081526 #123259 #1C4E8C #266ABF #4889DA

Accessibility & contrast

On white

8.34
#1C4E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1C4E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4E8C
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E8C#FFFFFF#000000##FFFFFF
##1C4E8C1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538E
Deuteranopia (green-blind)
#1A498B
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1c4e8c;
/* rgb */ color: rgb(28, 78, 140);
/* oklch */ color: oklch(42.5% 0.116 255.7);
Tailwind
colors: {
  custom: {
    50: '#6a7fae',
    500: '#1c4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e8c;
$custom-light: #6a7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e8c",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 213.214,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42513,
    "c": 0.11575,
    "h": 255.7
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#1C4E8C
secondary
#BC8848
accent
#9D3EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1C4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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