#1C45B4#1C45B4

#1C45B4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.182 H 264.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#1C45B4
RGBrgb(28, 69, 180)
HSLhsl(224, 73%, 41%)
HSVhsv(224, 84%, 71%)
CMYKcmyk(84.4%, 61.7%, 0%, 29.4%)
CIE-LABlab(33.56, 28.89, -62.54)
CIE-LCHlch(33.56, 68.89, 294.79°)
OKLaboklab(43.8% -0.0177 -0.181)
OKLCHoklch(43.8% 0.182 264.4)
XYZxyz(10.8423, 7.7971, 44.1047)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C45B4 #B48B1C
analogous
#1C91B4 #1C45B4 #3F1CB4
triadic
#1C45B4 #B41C45 #45B41C
tetradic
#1C45B4 #B41C91 #B48B1C #1CB43F
square
#1C45B4 #B41C91 #B48B1C #1CB43F
split-complementary
#1C45B4 #B43F1C #91B41C
monochromatic
#0C1C4A #14317F #1C45B4 #2F5EDF #6487E7

Accessibility & contrast

On white

8.20
#1C45B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1C45B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C45B4
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C45B4#FFFFFF#000000##FFFFFF
##1C45B41.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1c45b4;
/* rgb */ color: rgb(28, 69, 180);
/* oklch */ color: oklch(43.8% 0.182 264.4);
Tailwind
colors: {
  custom: {
    50: '#7578cb',
    500: '#1c45b4',
    950: '#000000',
  },
}
SCSS
$custom: #1c45b4;
$custom-light: #7578cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c45b4",
  "rgb": {
    "r": 28,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 223.816,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43798,
    "c": 0.1819,
    "h": 264.4
  },
  "luminance": 0.07798
}

Semantic roles & 50–950 ramp

primary
#1C45B4
secondary
#CCAF60
accent
#BE38F0
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1C45B4

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

Preview Lab → · Contrast checker → · Palette generator →

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