#1C4087#1C4087

#1C4087 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.9% C 0.126 H 262.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#1C4087
RGBrgb(28, 64, 135)
HSLhsl(220, 66%, 32%)
HSVhsv(220, 79%, 53%)
CMYKcmyk(79.3%, 52.6%, 0%, 47.1%)
CIE-LABlab(28.54, 14.38, -43.44)
CIE-LCHlch(28.54, 45.76, 288.32°)
OKLaboklab(38.89% -0.0174 -0.125)
OKLCHoklch(38.89% 0.126 262.1)
XYZxyz(6.6839, 5.6622, 23.6576)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4087 #87631C
analogous
#1C7687 #1C4087 #2E1C87
triadic
#1C4087 #871C40 #40871C
tetradic
#1C4087 #871C76 #87631C #1C872E
square
#1C4087 #871C76 #87631C #1C872E
split-complementary
#1C4087 #872E1C #76871C
monochromatic
#071022 #112854 #1C4087 #2758BA #4577D8

Accessibility & contrast

On white

9.85
#1C4087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1C4087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4087
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4087#FFFFFF#000000##FFFFFF
##1C40871.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12488A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c4087;
/* rgb */ color: rgb(28, 64, 135);
/* oklch */ color: oklch(38.9% 0.126 262.1);
Tailwind
colors: {
  custom: {
    50: '#6a74aa',
    500: '#1c4087',
    950: '#000000',
  },
}
SCSS
$custom: #1c4087;
$custom-light: #6a74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4087",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 219.813,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38889,
    "c": 0.12621,
    "h": 262.1
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#1C4087
secondary
#BA9345
accent
#B03FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1C4087

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

Preview Lab → · Contrast checker → · Palette generator →

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