#1730A0#1730A0

#1730A0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.182 H 266.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#1730A0
RGBrgb(23, 48, 160)
HSLhsl(229, 75%, 36%)
HSVhsv(229, 86%, 63%)
CMYKcmyk(85.6%, 70%, 0%, 37.3%)
CIE-LABlab(26.25, 34.72, -62.53)
CIE-LCHlch(26.25, 71.52, 299.04°)
OKLaboklab(37.81% -0.0109 -0.1813)
OKLCHoklch(37.81% 0.182 266.5)
XYZxyz(7.7532, 4.8332, 33.7751)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1730A0 #A08717
analogous
#1774A0 #1730A0 #4217A0
triadic
#1730A0 #A01730 #30A017
tetradic
#1730A0 #A01774 #A08717 #17A042
square
#1730A0 #A01774 #A08717 #17A042
split-complementary
#1730A0 #A04217 #74A017
monochromatic
#081035 #0F206A #1730A0 #1F40D6 #4C68E5

Accessibility & contrast

On white

10.68
#1730A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1730A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1730A0
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1730A0#FFFFFF#000000##FFFFFF
##1730A01.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1730a0;
/* rgb */ color: rgb(23, 48, 160);
/* oklch */ color: oklch(37.8% 0.182 266.5);
Tailwind
colors: {
  custom: {
    50: '#7068bd',
    500: '#1730a0',
    950: '#000000',
  },
}
SCSS
$custom: #1730a0;
$custom-light: #7068bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1730a0",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 160
  },
  "hsl": {
    "h": 229.051,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37808,
    "c": 0.18161,
    "h": 266.5
  },
  "luminance": 0.04834
}

Semantic roles & 50–950 ramp

primary
#1730A0
secondary
#C7B14C
accent
#CF36F1
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1730A0

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

Preview Lab → · Contrast checker → · Palette generator →

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