#1C4D9F#1C4D9F

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

Color values

HEX#1C4D9F
RGBrgb(28, 77, 159)
HSLhsl(218, 70%, 37%)
HSVhsv(218, 82%, 62%)
CMYKcmyk(82.4%, 51.6%, 0%, 37.6%)
CIE-LABlab(34.10, 15.18, -49.11)
CIE-LCHlch(34.10, 51.40, 287.17°)
OKLaboklab(43.69% -0.0244 -0.1414)
OKLCHoklch(43.69% 0.144 260.2)
XYZxyz(9.3885, 8.0567, 33.8544)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4D9F #9F6E1C
analogous
#1C8F9F #1C4D9F #2D1C9F
triadic
#1C4D9F #9F1C4D #4D9F1C
tetradic
#1C4D9F #9F1C8F #9F6E1C #1C9F2D
square
#1C4D9F #9F1C8F #9F6E1C #1C9F2D
split-complementary
#1C4D9F #9F2D1C #8F9F1C
monochromatic
#0A1B37 #13346B #1C4D9F #2566D3 #5489E1

Accessibility & contrast

On white

8.04
#1C4D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1C4D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4D9F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4D9F#FFFFFF#000000##FFFFFF
##1C4D9F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4d9f;
/* rgb */ color: rgb(28, 77, 159);
/* oklch */ color: oklch(43.7% 0.144 260.2);
Tailwind
colors: {
  custom: {
    50: '#6f7ebc',
    500: '#1c4d9f',
    950: '#000000',
  },
}
SCSS
$custom: #1c4d9f;
$custom-light: #6f7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4d9f",
  "rgb": {
    "r": 28,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 217.557,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43689,
    "c": 0.14354,
    "h": 260.2
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#1C4D9F
secondary
#C49A53
accent
#AA3BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1C4D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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