#1C4FAB#1C4FAB

#1C4FAB is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.158 H 261.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#1C4FAB
RGBrgb(28, 79, 171)
HSLhsl(219, 72%, 39%)
HSVhsv(219, 84%, 67%)
CMYKcmyk(83.6%, 53.8%, 0%, 32.9%)
CIE-LABlab(35.55, 18.63, -53.94)
CIE-LCHlch(35.55, 57.07, 289.06°)
OKLaboklab(45.08% -0.0244 -0.1556)
OKLCHoklch(45.08% 0.158 261.1)
XYZxyz(10.6229, 8.7778, 39.6546)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4FAB #AB781C
analogous
#1C97AB #1C4FAB #301CAB
triadic
#1C4FAB #AB1C4F #4FAB1C
tetradic
#1C4FAB #AB1C97 #AB781C #1CAB30
square
#1C4FAB #AB1C97 #AB781C #1CAB30
split-complementary
#1C4FAB #AB301C #97AB1C
monochromatic
#0B1E42 #133776 #1C4FAB #2868DC #5D8DE4

Accessibility & contrast

On white

7.62
#1C4FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C4FAB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4FAB#FFFFFF#000000##FFFFFF
##1C4FAB1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025AAE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1c4fab;
/* rgb */ color: rgb(28, 79, 171);
/* oklch */ color: oklch(45.1% 0.158 261.1);
Tailwind
colors: {
  custom: {
    50: '#727fc5',
    500: '#1c4fab',
    950: '#000000',
  },
}
SCSS
$custom: #1c4fab;
$custom-light: #727fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4fab",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 218.601,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45075,
    "c": 0.15752,
    "h": 261.1
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#1C4FAB
secondary
#C9A15A
accent
#AE39EF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1C4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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