#1C4E9B#1C4E9B

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

Color values

HEX#1C4E9B
RGBrgb(28, 78, 155)
HSLhsl(216, 69%, 36%)
HSVhsv(216, 82%, 61%)
CMYKcmyk(81.9%, 49.7%, 0%, 39.2%)
CIE-LABlab(34.11, 12.89, -46.69)
CIE-LCHlch(34.11, 48.43, 285.44°)
OKLaboklab(43.61% -0.0257 -0.1343)
OKLCHoklch(43.61% 0.137 259.1)
XYZxyz(9.1175, 8.0611, 32.0794)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E9B #9B691C
analogous
#1C8D9B #1C4E9B #291C9B
triadic
#1C4E9B #9B1C4E #4E9B1C
tetradic
#1C4E9B #9B1C8D #9B691C #1C9B29
square
#1C4E9B #9B1C8D #9B691C #1C9B29
split-complementary
#1C4E9B #9B291C #8D9B1C
monochromatic
#091A33 #133467 #1C4E9B #2568CF #528AE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C4E9B#FFFFFF#000000##FFFFFF
##1C4E9B1.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)
#20569E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4e9b;
/* rgb */ color: rgb(28, 78, 155);
/* oklch */ color: oklch(43.6% 0.137 259.1);
Tailwind
colors: {
  custom: {
    50: '#6e7eb9',
    500: '#1c4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e9b;
$custom-light: #6e7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e9b",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 216.378,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43605,
    "c": 0.13673,
    "h": 259.1
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#1C4E9B
secondary
#C39650
accent
#A73CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1C4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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