#1C4791#1C4791

#1C4791 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.132 H 260.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#1C4791
RGBrgb(28, 71, 145)
HSLhsl(218, 68%, 34%)
HSVhsv(218, 81%, 57%)
CMYKcmyk(80.7%, 51%, 0%, 43.1%)
CIE-LABlab(31.34, 13.61, -45.08)
CIE-LCHlch(31.34, 47.09, 286.80°)
OKLaboklab(41.26% -0.0217 -0.1297)
OKLCHoklch(41.26% 0.132 260.5)
XYZxyz(7.8411, 6.7968, 27.6812)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4791 #91661C
analogous
#1C8291 #1C4791 #2C1C91
triadic
#1C4791 #911C47 #47911C
tetradic
#1C4791 #911C82 #91661C #1C912C
square
#1C4791 #911C82 #91661C #1C912C
split-complementary
#1C4791 #912C1C #82911C
monochromatic
#08152A #122E5E #1C4791 #2660C4 #4B80DC

Accessibility & contrast

On white

8.90
#1C4791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1C4791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4791
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4791#FFFFFF#000000##FFFFFF
##1C47911.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F94
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1c4791;
/* rgb */ color: rgb(28, 71, 145);
/* oklch */ color: oklch(41.3% 0.132 260.5);
Tailwind
colors: {
  custom: {
    50: '#6c79b2',
    500: '#1c4791',
    950: '#000000',
  },
}
SCSS
$custom: #1c4791;
$custom-light: #6c79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4791",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 217.949,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41257,
    "c": 0.1315,
    "h": 260.5
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#1C4791
secondary
#BE944A
accent
#AB3DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4791

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

Preview Lab → · Contrast checker → · Palette generator →

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