#1C4084#1C4084

#1C4084 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.122 H 261.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#1C4084
RGBrgb(28, 64, 132)
HSLhsl(219, 65%, 31%)
HSVhsv(219, 79%, 52%)
CMYKcmyk(78.8%, 51.5%, 0%, 48.2%)
CIE-LABlab(28.32, 13.16, -41.93)
CIE-LCHlch(28.32, 43.94, 287.43°)
OKLaboklab(38.65% -0.0178 -0.1206)
OKLCHoklch(38.65% 0.122 261.6)
XYZxyz(6.4756, 5.5789, 22.5609)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4084 #84601C
analogous
#1C7484 #1C4084 #2C1C84
triadic
#1C4084 #841C40 #40841C
tetradic
#1C4084 #841C74 #84601C #1C842C
square
#1C4084 #841C74 #84601C #1C842C
split-complementary
#1C4084 #842C1C #74841C
monochromatic
#070F1F #112852 #1C4084 #2758B6 #4376D7

Accessibility & contrast

On white

9.92
#1C4084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1C4084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4084
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4084#FFFFFF#000000##FFFFFF
##1C40841.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174886
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c4084;
/* rgb */ color: rgb(28, 64, 132);
/* oklch */ color: oklch(38.7% 0.122 261.6);
Tailwind
colors: {
  custom: {
    50: '#6974a8',
    500: '#1c4084',
    950: '#000000',
  },
}
SCSS
$custom: #1c4084;
$custom-light: #6974a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4084",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 219.231,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38651,
    "c": 0.12187,
    "h": 261.6
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#1C4084
secondary
#B79045
accent
#AE40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1C4084

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

Preview Lab → · Contrast checker → · Palette generator →

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