#1C4E8E#1C4E8E

#1C4E8E is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.7% C 0.119 H 256.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#1C4E8E
RGBrgb(28, 78, 142)
HSLhsl(214, 67%, 33%)
HSVhsv(214, 80%, 56%)
CMYKcmyk(80.3%, 45.1%, 0%, 44.3%)
CIE-LABlab(33.24, 7.65, -40.19)
CIE-LCHlch(33.24, 40.91, 280.78°)
OKLaboklab(42.65% -0.0281 -0.1152)
OKLCHoklch(42.65% 0.119 256.3)
XYZxyz(8.0840, 7.6477, 26.6360)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E8E #8E5C1C
analogous
#1C878E #1C4E8E #231C8E
triadic
#1C4E8E #8E1C4E #4E8E1C
tetradic
#1C4E8E #8E1C87 #8E5C1C #1C8E23
square
#1C4E8E #8E1C87 #8E5C1C #1C8E23
split-complementary
#1C4E8E #8E231C #878E1C
monochromatic
#081628 #12325B #1C4E8E #266AC1 #4989DB

Accessibility & contrast

On white

8.30
#1C4E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1C4E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4E8E
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E8E#FFFFFF#000000##FFFFFF
##1C4E8E1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5490
Deuteranopia (green-blind)
#16498D
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1c4e8e;
/* rgb */ color: rgb(28, 78, 142);
/* oklch */ color: oklch(42.7% 0.119 256.3);
Tailwind
colors: {
  custom: {
    50: '#6b7faf',
    500: '#1c4e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e8e;
$custom-light: #6b7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e8e",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 213.684,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.11856,
    "h": 256.3
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

primary
#1C4E8E
secondary
#BD8A49
accent
#9E3EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1C4E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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