#1727A0#1727A0

#1727A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.191 H 267.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1727A0
RGBrgb(23, 39, 160)
HSLhsl(233, 75%, 36%)
HSVhsv(233, 86%, 63%)
CMYKcmyk(85.6%, 75.6%, 0%, 37.3%)
CIE-LABlab(24.23, 40.32, -65.88)
CIE-LCHlch(24.23, 77.24, 301.47°)
OKLaboklab(36.35% -0.008 -0.191)
OKLCHoklch(36.35% 0.191 267.6)
XYZxyz(7.4218, 4.1703, 33.6647)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1727A0 #A09017
analogous
#176BA0 #1727A0 #4C17A0
triadic
#1727A0 #A01727 #27A017
tetradic
#1727A0 #A0176B #A09017 #17A04C
square
#1727A0 #A0176B #A09017 #17A04C
split-complementary
#1727A0 #A04C17 #6BA017
monochromatic
#080D35 #0F1A6A #1727A0 #1F34D6 #4C5EE5

Accessibility & contrast

On white

11.45
#1727A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1727A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1727A0
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1727A0#FFFFFF#000000##FFFFFF
##1727A01.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1727a0;
/* rgb */ color: rgb(23, 39, 160);
/* oklch */ color: oklch(36.3% 0.191 267.6);
Tailwind
colors: {
  custom: {
    50: '#7162bd',
    500: '#1727a0',
    950: '#000000',
  },
}
SCSS
$custom: #1727a0;
$custom-light: #7162bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1727a0",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 232.993,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36349,
    "c": 0.19115,
    "h": 267.6
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#1727A0
secondary
#C7B94C
accent
#DC36F1
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1727A0

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

Preview Lab → · Contrast checker → · Palette generator →

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