#1C4EB4#1C4EB4

#1C4EB4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.171 H 262.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#1C4EB4
RGBrgb(28, 78, 180)
HSLhsl(220, 73%, 41%)
HSVhsv(220, 84%, 71%)
CMYKcmyk(84.4%, 56.7%, 0%, 29.4%)
CIE-LABlab(35.96, 22.87, -58.61)
CIE-LCHlch(35.96, 62.92, 291.32°)
OKLaboklab(45.6% -0.0229 -0.1693)
OKLCHoklch(45.6% 0.171 262.3)
XYZxyz(11.4385, 8.9895, 44.3034)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4EB4 #B4821C
analogous
#1C9AB4 #1C4EB4 #361CB4
triadic
#1C4EB4 #B41C4E #4EB41C
tetradic
#1C4EB4 #B41C9A #B4821C #1CB436
square
#1C4EB4 #B41C9A #B4821C #1CB436
split-complementary
#1C4EB4 #B4361C #9AB41C
monochromatic
#0C204A #14377F #1C4EB4 #2F68DF #648FE7

Accessibility & contrast

On white

7.50
#1C4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#1C4EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4EB4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4EB4#FFFFFF#000000##FFFFFF
##1C4EB41.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1c4eb4;
/* rgb */ color: rgb(28, 78, 180);
/* oklch */ color: oklch(45.6% 0.171 262.3);
Tailwind
colors: {
  custom: {
    50: '#747ecb',
    500: '#1c4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #1c4eb4;
$custom-light: #747ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4eb4",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 220.263,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.17089,
    "h": 262.3
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#1C4EB4
secondary
#CCA860
accent
#B338F0
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1C4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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