#1C4080#1C4080

#1C4080 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.116 H 260.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#1C4080
RGBrgb(28, 64, 128)
HSLhsl(218, 64%, 31%)
HSVhsv(218, 78%, 50%)
CMYKcmyk(78.1%, 50%, 0%, 49.8%)
CIE-LABlab(28.04, 11.53, -39.89)
CIE-LCHlch(28.04, 41.53, 286.12°)
OKLaboklab(38.34% -0.0184 -0.1146)
OKLCHoklch(38.34% 0.116 260.9)
XYZxyz(6.2072, 5.4715, 21.1469)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4080 #805C1C
analogous
#1C7280 #1C4080 #2A1C80
triadic
#1C4080 #801C40 #40801C
tetradic
#1C4080 #801C72 #805C1C #1C802A
square
#1C4080 #801C72 #805C1C #1C802A
split-complementary
#1C4080 #802A1C #72801C
monochromatic
#060E1C #11274E #1C4080 #2759B2 #4176D5

Accessibility & contrast

On white

10.03
#1C4080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1C4080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4080
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4080#FFFFFF#000000##FFFFFF
##1C40801.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4782
Deuteranopia (green-blind)
#003E7F
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c4080;
/* rgb */ color: rgb(28, 64, 128);
/* oklch */ color: oklch(38.3% 0.116 260.9);
Tailwind
colors: {
  custom: {
    50: '#6874a5',
    500: '#1c4080',
    950: '#000000',
  },
}
SCSS
$custom: #1c4080;
$custom-light: #6874a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4080",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 218.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38341,
    "c": 0.11605,
    "h": 260.9
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#1C4080
secondary
#B38B44
accent
#AB41E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C4080

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

Preview Lab → · Contrast checker → · Palette generator →

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