#1A28A0#1A28A0

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

Color values

HEX#1A28A0
RGBrgb(26, 40, 160)
HSLhsl(234, 72%, 36%)
HSVhsv(234, 84%, 63%)
CMYKcmyk(83.8%, 75%, 0%, 37.3%)
CIE-LABlab(24.56, 39.90, -65.33)
CIE-LCHlch(24.56, 76.55, 301.42°)
OKLaboklab(36.62% -0.0057 -0.1893)
OKLCHoklch(36.62% 0.189 268.3)
XYZxyz(7.5278, 4.2744, 33.6792)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A28A0 #A0921A
analogous
#1A6BA0 #1A28A0 #4F1AA0
triadic
#1A28A0 #A01A28 #28A01A
tetradic
#1A28A0 #A01A6B #A0921A #1AA04F
square
#1A28A0 #A01A6B #A0921A #1AA04F
split-complementary
#1A28A0 #A04F1A #6BA01A
monochromatic
#090E37 #111B6B #1A28A0 #2335D5 #5261E3

Accessibility & contrast

On white

11.32
#1A28A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A28A0
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A28A0#FFFFFF#000000##FFFFFF
##1A28A01.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a28a0;
/* rgb */ color: rgb(26, 40, 160);
/* oklch */ color: oklch(36.6% 0.189 268.3);
Tailwind
colors: {
  custom: {
    50: '#7263bd',
    500: '#1a28a0',
    950: '#000000',
  },
}
SCSS
$custom: #1a28a0;
$custom-light: #7263bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a28a0",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 233.731,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36619,
    "c": 0.18942,
    "h": 268.3
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#1A28A0
secondary
#C5B950
accent
#DC39EF
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1A28A0

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

Preview Lab → · Contrast checker → · Palette generator →

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