#1C4DB3#1C4DB3

#1C4DB3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.171 H 262.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#1C4DB3
RGBrgb(28, 77, 179)
HSLhsl(221, 73%, 41%)
HSVhsv(221, 84%, 70%)
CMYKcmyk(84.4%, 57%, 0%, 29.8%)
CIE-LABlab(35.61, 23.15, -58.59)
CIE-LCHlch(35.61, 63.00, 291.56°)
OKLaboklab(45.31% -0.0224 -0.1693)
OKLCHoklch(45.31% 0.171 262.5)
XYZxyz(11.2665, 8.8079, 43.7454)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4DB3 #B3821C
analogous
#1C98B3 #1C4DB3 #371CB3
triadic
#1C4DB3 #B31C4D #4DB31C
tetradic
#1C4DB3 #B31C98 #B3821C #1CB337
square
#1C4DB3 #B31C98 #B3821C #1CB337
split-complementary
#1C4DB3 #B3371C #98B31C
monochromatic
#0B1F49 #14367E #1C4DB3 #2E67DE #638EE7

Accessibility & contrast

On white

7.60
#1C4DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1C4DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4DB3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4DB3#FFFFFF#000000##FFFFFF
##1C4DB31.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1c4db3;
/* rgb */ color: rgb(28, 77, 179);
/* oklch */ color: oklch(45.3% 0.171 262.5);
Tailwind
colors: {
  custom: {
    50: '#747ecb',
    500: '#1c4db3',
    950: '#000000',
  },
}
SCSS
$custom: #1c4db3;
$custom-light: #747ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4db3",
  "rgb": {
    "r": 28,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 220.53,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.17079,
    "h": 262.5
  },
  "luminance": 0.08809
}

Semantic roles & 50–950 ramp

primary
#1C4DB3
secondary
#CBA85F
accent
#B438F0
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1C4DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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