#1C4795#1C4795

#1C4795 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.137 H 261.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#1C4795
RGBrgb(28, 71, 149)
HSLhsl(219, 68%, 35%)
HSVhsv(219, 81%, 58%)
CMYKcmyk(81.2%, 52.3%, 0%, 41.6%)
CIE-LABlab(31.63, 15.23, -47.05)
CIE-LCHlch(31.63, 49.46, 287.94°)
OKLaboklab(41.57% -0.0211 -0.1355)
OKLCHoklch(41.57% 0.137 261.1)
XYZxyz(8.1550, 6.9223, 29.3343)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4795 #956A1C
analogous
#1C8495 #1C4795 #2E1C95
triadic
#1C4795 #951C47 #47951C
tetradic
#1C4795 #951C84 #956A1C #1C952E
square
#1C4795 #951C84 #956A1C #1C952E
split-complementary
#1C4795 #952E1C #84951C
monochromatic
#09162E #122E61 #1C4795 #2660C9 #4E81DE

Accessibility & contrast

On white

8.81
#1C4795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1C4795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4795
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4795#FFFFFF#000000##FFFFFF
##1C47951.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135098
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1c4795;
/* rgb */ color: rgb(28, 71, 149);
/* oklch */ color: oklch(41.6% 0.137 261.1);
Tailwind
colors: {
  custom: {
    50: '#6d79b5',
    500: '#1c4795',
    950: '#000000',
  },
}
SCSS
$custom: #1c4795;
$custom-light: #6d79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4795",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 218.678,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4157,
    "c": 0.13715,
    "h": 261.1
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#1C4795
secondary
#C0974D
accent
#AD3DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4795

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

Preview Lab → · Contrast checker → · Palette generator →

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