#1C4DB4#1C4DB4

#1C4DB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.172 H 262.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#1C4DB4
RGBrgb(28, 77, 180)
HSLhsl(221, 73%, 41%)
HSVhsv(221, 84%, 71%)
CMYKcmyk(84.4%, 57.2%, 0%, 29.4%)
CIE-LABlab(35.69, 23.54, -59.05)
CIE-LCHlch(35.69, 63.57, 291.74°)
OKLaboklab(45.4% -0.0223 -0.1707)
OKLCHoklch(45.4% 0.172 262.6)
XYZxyz(11.3680, 8.8485, 44.2799)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4DB4 #B4831C
analogous
#1C99B4 #1C4DB4 #371CB4
triadic
#1C4DB4 #B41C4D #4DB41C
tetradic
#1C4DB4 #B41C99 #B4831C #1CB437
square
#1C4DB4 #B41C99 #B4831C #1CB437
split-complementary
#1C4DB4 #B4371C #99B41C
monochromatic
#0C204A #14367F #1C4DB4 #2F67DF #648EE7

Accessibility & contrast

On white

7.58
#1C4DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1C4DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4DB4
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4DB4#FFFFFF#000000##FFFFFF
##1C4DB41.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1c4db4;
/* rgb */ color: rgb(28, 77, 180);
/* oklch */ color: oklch(45.4% 0.172 262.6);
Tailwind
colors: {
  custom: {
    50: '#747ecb',
    500: '#1c4db4',
    950: '#000000',
  },
}
SCSS
$custom: #1c4db4;
$custom-light: #747ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4db4",
  "rgb": {
    "r": 28,
    "g": 77,
    "b": 180
  },
  "hsl": {
    "h": 220.658,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45397,
    "c": 0.17213,
    "h": 262.6
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#1C4DB4
secondary
#CCA960
accent
#B538F0
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1C4DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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