#1C28A0#1C28A0

#1C28A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.189 H 268.8°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#1C28A0
RGBrgb(28, 40, 160)
HSLhsl(235, 70%, 37%)
HSVhsv(235, 83%, 63%)
CMYKcmyk(82.5%, 75%, 0%, 37.3%)
CIE-LABlab(24.64, 40.03, -65.19)
CIE-LCHlch(24.64, 76.50, 301.56°)
OKLaboklab(36.7% -0.0038 -0.1889)
OKLCHoklch(36.7% 0.189 268.8)
XYZxyz(7.5807, 4.3016, 33.6817)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C28A0 #A0941C
analogous
#1C6AA0 #1C28A0 #521CA0
triadic
#1C28A0 #A01C28 #28A01C
tetradic
#1C28A0 #A01C6A #A0941C #1CA052
square
#1C28A0 #A01C6A #A0941C #1CA052
split-complementary
#1C28A0 #A0521C #6AA01C
monochromatic
#0A0E38 #131B6C #1C28A0 #2535D4 #5562E1

Accessibility & contrast

On white

11.29
#1C28A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1C28A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C28A0
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C28A0#FFFFFF#000000##FFFFFF
##1C28A01.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1c28a0;
/* rgb */ color: rgb(28, 40, 160);
/* oklch */ color: oklch(36.7% 0.189 268.8);
Tailwind
colors: {
  custom: {
    50: '#7263bd',
    500: '#1c28a0',
    950: '#000000',
  },
}
SCSS
$custom: #1c28a0;
$custom-light: #7263bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c28a0",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 234.545,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36704,
    "c": 0.18892,
    "h": 268.8
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#1C28A0
secondary
#C4BA53
accent
#DD3BED
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1C28A0

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

Preview Lab → · Contrast checker → · Palette generator →

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