#1C4BA7#1C4BA7

#1C4BA7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.157 H 261.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#1C4BA7
RGBrgb(28, 75, 167)
HSLhsl(220, 71%, 38%)
HSVhsv(220, 83%, 65%)
CMYKcmyk(83.2%, 55.1%, 0%, 34.5%)
CIE-LABlab(34.12, 19.74, -53.88)
CIE-LCHlch(34.12, 57.38, 290.12°)
OKLaboklab(43.89% -0.022 -0.1555)
OKLCHoklch(43.89% 0.157 261.9)
XYZxyz(9.9675, 8.0678, 37.5836)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4BA7 #A7781C
analogous
#1C90A7 #1C4BA7 #321CA7
triadic
#1C4BA7 #A71C4B #4BA71C
tetradic
#1C4BA7 #A71C90 #A7781C #1CA732
square
#1C4BA7 #A71C90 #A7781C #1CA732
split-complementary
#1C4BA7 #A7321C #90A71C
monochromatic
#0A1C3E #133373 #1C4BA7 #2663DB #5A88E3

Accessibility & contrast

On white

8.03
#1C4BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1C4BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4BA7
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4BA7#FFFFFF#000000##FFFFFF
##1C4BA71.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4ba7;
/* rgb */ color: rgb(28, 75, 167);
/* oklch */ color: oklch(43.9% 0.157 261.9);
Tailwind
colors: {
  custom: {
    50: '#717cc2',
    500: '#1c4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #1c4ba7;
$custom-light: #717cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4ba7",
  "rgb": {
    "r": 28,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 219.712,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43894,
    "c": 0.15706,
    "h": 261.9
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#1C4BA7
secondary
#C7A158
accent
#B13AEE
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1C4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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