#1C45A8#1C45A8

#1C45A8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.166 H 263.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#1C45A8
RGBrgb(28, 69, 168)
HSLhsl(222, 71%, 38%)
HSVhsv(222, 83%, 66%)
CMYKcmyk(83.3%, 58.9%, 0%, 34.1%)
CIE-LABlab(32.54, 24.19, -57.04)
CIE-LCHlch(32.54, 61.96, 292.98°)
OKLaboklab(42.73% -0.0181 -0.1649)
OKLCHoklch(42.73% 0.166 263.7)
XYZxyz(9.6724, 7.3291, 37.9431)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C45A8 #A87F1C
analogous
#1C8BA8 #1C45A8 #391CA8
triadic
#1C45A8 #A81C45 #45A81C
tetradic
#1C45A8 #A81C8B #A87F1C #1CA839
square
#1C45A8 #A81C8B #A87F1C #1CA839
split-complementary
#1C45A8 #A8391C #8BA81C
monochromatic
#0B1A3F #132F74 #1C45A8 #265BDB #5B83E4

Accessibility & contrast

On white

8.52
#1C45A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1C45A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C45A8
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C45A8#FFFFFF#000000##FFFFFF
##1C45A81.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1c45a8;
/* rgb */ color: rgb(28, 69, 168);
/* oklch */ color: oklch(42.7% 0.166 263.7);
Tailwind
colors: {
  custom: {
    50: '#7278c3',
    500: '#1c45a8',
    950: '#000000',
  },
}
SCSS
$custom: #1c45a8;
$custom-light: #7278c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c45a8",
  "rgb": {
    "r": 28,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 222.429,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42728,
    "c": 0.16591,
    "h": 263.7
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#1C45A8
secondary
#C7A758
accent
#B93AEE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1C45A8

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

Preview Lab → · Contrast checker → · Palette generator →

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