#1C4E9C#1C4E9C

#1C4E9C is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.138 H 259.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#1C4E9C
RGBrgb(28, 78, 156)
HSLhsl(217, 70%, 36%)
HSVhsv(217, 82%, 61%)
CMYKcmyk(82.1%, 50%, 0%, 38.8%)
CIE-LABlab(34.18, 13.30, -47.18)
CIE-LCHlch(34.18, 49.01, 285.74°)
OKLaboklab(43.68% -0.0256 -0.1357)
OKLCHoklch(43.68% 0.138 259.3)
XYZxyz(9.2018, 8.0948, 32.5235)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E9C #9C6A1C
analogous
#1C8E9C #1C4E9C #2A1C9C
triadic
#1C4E9C #9C1C4E #4E9C1C
tetradic
#1C4E9C #9C1C8E #9C6A1C #1C9C2A
square
#1C4E9C #9C1C8E #9C6A1C #1C9C2A
split-complementary
#1C4E9C #9C2A1C #8E9C1C
monochromatic
#091A34 #133468 #1C4E9C #2568D0 #528AE0

Accessibility & contrast

On white

8.02
#1C4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1C4E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4E9C
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E9C#FFFFFF#000000##FFFFFF
##1C4E9C1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F579F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4e9c;
/* rgb */ color: rgb(28, 78, 156);
/* oklch */ color: oklch(43.7% 0.138 259.3);
Tailwind
colors: {
  custom: {
    50: '#6e7eba',
    500: '#1c4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e9c;
$custom-light: #6e7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e9c",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 216.563,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43681,
    "c": 0.13812,
    "h": 259.3
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#1C4E9C
secondary
#C39651
accent
#A73BEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1C4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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