#1C4EC2#1C4EC2

#1C4EC2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.189 H 263.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#1C4EC2
RGBrgb(28, 78, 194)
HSLhsl(222, 75%, 44%)
HSVhsv(222, 86%, 76%)
CMYKcmyk(85.6%, 59.8%, 0%, 23.9%)
CIE-LABlab(37.09, 28.34, -64.99)
CIE-LCHlch(37.09, 70.90, 293.57°)
OKLaboklab(46.81% -0.0221 -0.1881)
OKLCHoklch(46.81% 0.189 263.3)
XYZxyz(12.9374, 9.5891, 52.1975)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4EC2 #C2901C
analogous
#1CA1C2 #1C4EC2 #3D1CC2
triadic
#1C4EC2 #C21C4E #4EC21C
tetradic
#1C4EC2 #C21CA1 #C2901C #1CC23D
square
#1C4EC2 #C21CA1 #C2901C #1CC23D
split-complementary
#1C4EC2 #C23D1C #A1C21C
monochromatic
#0D2357 #14388D #1C4EC2 #396CE2 #6E94EA

Accessibility & contrast

On white

7.20
#1C4EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#1C4EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4EC2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4EC2#FFFFFF#000000##FFFFFF
##1C4EC21.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1c4ec2;
/* rgb */ color: rgb(28, 78, 194);
/* oklch */ color: oklch(46.8% 0.189 263.3);
Tailwind
colors: {
  custom: {
    50: '#787fd5',
    500: '#1c4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #1c4ec2;
$custom-light: #787fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4ec2",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 221.928,
    "s": 74.775,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46805,
    "c": 0.18937,
    "h": 263.3
  },
  "luminance": 0.09591
}

Semantic roles & 50–950 ramp

primary
#1C4EC2
secondary
#D0B16A
accent
#B936F1
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #1C4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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