#1731A0#1731A0

#1731A0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.180 H 266.4°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#1731A0
RGBrgb(23, 49, 160)
HSLhsl(229, 75%, 36%)
HSVhsv(229, 86%, 63%)
CMYKcmyk(85.6%, 69.4%, 0%, 37.3%)
CIE-LABlab(26.49, 34.07, -62.14)
CIE-LCHlch(26.49, 70.87, 298.73°)
OKLaboklab(37.98% -0.0113 -0.1801)
OKLCHoklch(37.98% 0.18 266.4)
XYZxyz(7.7946, 4.9159, 33.7889)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1731A0 #A08617
analogous
#1775A0 #1731A0 #4117A0
triadic
#1731A0 #A01731 #31A017
tetradic
#1731A0 #A01775 #A08617 #17A041
square
#1731A0 #A01775 #A08617 #17A041
split-complementary
#1731A0 #A04117 #75A017
monochromatic
#081035 #0F216A #1731A0 #1F41D6 #4C69E5

Accessibility & contrast

On white

10.59
#1731A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1731A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1731A0
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1731A0#FFFFFF#000000##FFFFFF
##1731A01.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1731a0;
/* rgb */ color: rgb(23, 49, 160);
/* oklch */ color: oklch(38.0% 0.180 266.4);
Tailwind
colors: {
  custom: {
    50: '#7069bd',
    500: '#1731a0',
    950: '#000000',
  },
}
SCSS
$custom: #1731a0;
$custom-light: #7069bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1731a0",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 228.613,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37982,
    "c": 0.18048,
    "h": 266.4
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#1731A0
secondary
#C7B04C
accent
#CE36F1
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1731A0

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

Preview Lab → · Contrast checker → · Palette generator →

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