#1C4EB3#1C4EB3

#1C4EB3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.170 H 262.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#1C4EB3
RGBrgb(28, 78, 179)
HSLhsl(220, 73%, 41%)
HSVhsv(220, 84%, 70%)
CMYKcmyk(84.4%, 56.4%, 0%, 29.8%)
CIE-LABlab(35.89, 22.48, -58.15)
CIE-LCHlch(35.89, 62.34, 291.14°)
OKLaboklab(45.52% -0.023 -0.168)
OKLCHoklch(45.52% 0.17 262.2)
XYZxyz(11.3370, 8.9489, 43.7689)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4EB3 #B3811C
analogous
#1C9AB3 #1C4EB3 #351CB3
triadic
#1C4EB3 #B31C4E #4EB31C
tetradic
#1C4EB3 #B31C9A #B3811C #1CB335
square
#1C4EB3 #B31C9A #B3811C #1CB335
split-complementary
#1C4EB3 #B3351C #9AB31C
monochromatic
#0B2049 #14377E #1C4EB3 #2E68DE #638EE7

Accessibility & contrast

On white

7.53
#1C4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1C4EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4EB3
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4EB3#FFFFFF#000000##FFFFFF
##1C4EB31.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c4eb3;
/* rgb */ color: rgb(28, 78, 179);
/* oklch */ color: oklch(45.5% 0.170 262.2);
Tailwind
colors: {
  custom: {
    50: '#747ecb',
    500: '#1c4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #1c4eb3;
$custom-light: #747ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4eb3",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 220.132,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4552,
    "c": 0.16955,
    "h": 262.2
  },
  "luminance": 0.0895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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