#1730A1#1730A1

#1730A1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.183 H 266.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#1730A1
RGBrgb(23, 48, 161)
HSLhsl(229, 75%, 36%)
HSVhsv(229, 86%, 63%)
CMYKcmyk(85.7%, 70.2%, 0%, 36.9%)
CIE-LABlab(26.36, 35.09, -62.97)
CIE-LCHlch(26.36, 72.09, 299.13°)
OKLaboklab(37.91% -0.011 -0.1826)
OKLCHoklch(37.91% 0.183 266.5)
XYZxyz(7.8411, 4.8683, 34.2377)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1730A1 #A18817
analogous
#1775A1 #1730A1 #4317A1
triadic
#1730A1 #A11730 #30A117
tetradic
#1730A1 #A11775 #A18817 #17A143
square
#1730A1 #A11775 #A18817 #17A143
split-complementary
#1730A1 #A14317 #75A117
monochromatic
#081036 #0F206B #1730A1 #1F40D7 #4D69E6

Accessibility & contrast

On white

10.64
#1730A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1730A1
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1730A1#FFFFFF#000000##FFFFFF
##1730A11.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1730a1;
/* rgb */ color: rgb(23, 48, 161);
/* oklch */ color: oklch(37.9% 0.183 266.5);
Tailwind
colors: {
  custom: {
    50: '#7168be',
    500: '#1730a1',
    950: '#000000',
  },
}
SCSS
$custom: #1730a1;
$custom-light: #7168be;
$custom-dark: #000000;
JSON
{
  "hex": "#1730a1",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 161
  },
  "hsl": {
    "h": 229.13,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37913,
    "c": 0.18289,
    "h": 266.5
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1730A1

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

Preview Lab → · Contrast checker → · Palette generator →

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