#1728A0#1728A0

#1728A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.190 H 267.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#1728A0
RGBrgb(23, 40, 160)
HSLhsl(233, 75%, 36%)
HSVhsv(233, 86%, 63%)
CMYKcmyk(85.6%, 75%, 0%, 37.3%)
CIE-LABlab(24.44, 39.72, -65.53)
CIE-LCHlch(24.44, 76.63, 301.22°)
OKLaboklab(36.5% -0.0082 -0.19)
OKLCHoklch(36.5% 0.19 267.5)
XYZxyz(7.4551, 4.2369, 33.6758)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1728A0 #A08F17
analogous
#176CA0 #1728A0 #4A17A0
triadic
#1728A0 #A01728 #28A017
tetradic
#1728A0 #A0176C #A08F17 #17A04A
square
#1728A0 #A0176C #A08F17 #17A04A
split-complementary
#1728A0 #A04A17 #6CA017
monochromatic
#080D35 #0F1B6A #1728A0 #1F35D6 #4C5FE5

Accessibility & contrast

On white

11.37
#1728A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1728A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1728A0
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1728A0#FFFFFF#000000##FFFFFF
##1728A01.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1728a0;
/* rgb */ color: rgb(23, 40, 160);
/* oklch */ color: oklch(36.5% 0.190 267.5);
Tailwind
colors: {
  custom: {
    50: '#7163bd',
    500: '#1728a0',
    950: '#000000',
  },
}
SCSS
$custom: #1728a0;
$custom-light: #7163bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1728a0",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 232.555,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36501,
    "c": 0.19015,
    "h": 267.5
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#1728A0
secondary
#C7B84C
accent
#DA36F1
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1728A0

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

Preview Lab → · Contrast checker → · Palette generator →

#1728A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva