#1C4E9F#1C4E9F

#1C4E9F is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.142 H 259.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#1C4E9F
RGBrgb(28, 78, 159)
HSLhsl(217, 70%, 37%)
HSVhsv(217, 82%, 62%)
CMYKcmyk(82.4%, 50.9%, 0%, 37.6%)
CIE-LABlab(34.39, 14.50, -48.64)
CIE-LCHlch(34.39, 50.76, 286.60°)
OKLaboklab(43.91% -0.0251 -0.14)
OKLCHoklch(43.91% 0.142 259.8)
XYZxyz(9.4590, 8.1977, 33.8779)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E9F #9F6D1C
analogous
#1C909F #1C4E9F #2C1C9F
triadic
#1C4E9F #9F1C4E #4E9F1C
tetradic
#1C4E9F #9F1C90 #9F6D1C #1C9F2C
square
#1C4E9F #9F1C90 #9F6D1C #1C9F2C
split-complementary
#1C4E9F #9F2C1C #909F1C
monochromatic
#0A1B37 #13346B #1C4E9F #2568D3 #548AE1

Accessibility & contrast

On white

7.96
#1C4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1C4E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4E9F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E9F#FFFFFF#000000##FFFFFF
##1C4E9F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1c4e9f;
/* rgb */ color: rgb(28, 78, 159);
/* oklch */ color: oklch(43.9% 0.142 259.8);
Tailwind
colors: {
  custom: {
    50: '#6f7ebc',
    500: '#1c4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e9f;
$custom-light: #6f7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e9f",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 217.099,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43911,
    "c": 0.14229,
    "h": 259.8
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#1C4E9F
secondary
#C49953
accent
#A93BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1C4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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