#1C4790#1C4790

#1C4790 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.130 H 260.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#1C4790
RGBrgb(28, 71, 144)
HSLhsl(218, 67%, 34%)
HSVhsv(218, 81%, 56%)
CMYKcmyk(80.6%, 50.7%, 0%, 43.5%)
CIE-LABlab(31.27, 13.21, -44.58)
CIE-LCHlch(31.27, 46.50, 286.50°)
OKLaboklab(41.18% -0.0218 -0.1282)
OKLCHoklch(41.18% 0.13 260.3)
XYZxyz(7.7643, 6.7661, 27.2769)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4790 #90651C
analogous
#1C8190 #1C4790 #2B1C90
triadic
#1C4790 #901C47 #47901C
tetradic
#1C4790 #901C81 #90651C #1C902B
square
#1C4790 #901C81 #90651C #1C902B
split-complementary
#1C4790 #902B1C #81901C
monochromatic
#08142A #122E5D #1C4790 #2660C3 #4A80DC

Accessibility & contrast

On white

8.92
#1C4790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1C4790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4790
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4790#FFFFFF#000000##FFFFFF
##1C47901.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F93
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1c4790;
/* rgb */ color: rgb(28, 71, 144);
/* oklch */ color: oklch(41.2% 0.130 260.3);
Tailwind
colors: {
  custom: {
    50: '#6c79b1',
    500: '#1c4790',
    950: '#000000',
  },
}
SCSS
$custom: #1c4790;
$custom-light: #6c79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4790",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 217.759,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41179,
    "c": 0.13009,
    "h": 260.3
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#1C4790
secondary
#BE934A
accent
#AA3DEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4790

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

Preview Lab → · Contrast checker → · Palette generator →

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