#1C45A0#1C45A0

#1C45A0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.155 H 263.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#1C45A0
RGBrgb(28, 69, 160)
HSLhsl(221, 70%, 37%)
HSVhsv(221, 83%, 63%)
CMYKcmyk(82.5%, 56.9%, 0%, 37.3%)
CIE-LABlab(31.90, 21.02, -53.29)
CIE-LCHlch(31.90, 57.28, 291.52°)
OKLaboklab(42.04% -0.0186 -0.1539)
OKLCHoklch(42.04% 0.155 263.1)
XYZxyz(8.9499, 7.0401, 34.1381)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C45A0 #A0771C
analogous
#1C87A0 #1C45A0 #351CA0
triadic
#1C45A0 #A01C45 #45A01C
tetradic
#1C45A0 #A01C87 #A0771C #1CA035
square
#1C45A0 #A01C87 #A0771C #1CA035
split-complementary
#1C45A0 #A0351C #87A01C
monochromatic
#0A1838 #132F6C #1C45A0 #255BD4 #5581E1

Accessibility & contrast

On white

8.72
#1C45A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1C45A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C45A0
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C45A0#FFFFFF#000000##FFFFFF
##1C45A01.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1c45a0;
/* rgb */ color: rgb(28, 69, 160);
/* oklch */ color: oklch(42.0% 0.155 263.1);
Tailwind
colors: {
  custom: {
    50: '#7078bd',
    500: '#1c45a0',
    950: '#000000',
  },
}
SCSS
$custom: #1c45a0;
$custom-light: #7078bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c45a0",
  "rgb": {
    "r": 28,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 221.364,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42039,
    "c": 0.15501,
    "h": 263.1
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#1C45A0
secondary
#C4A153
accent
#B63BED
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1C45A0

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

Preview Lab → · Contrast checker → · Palette generator →

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