#1730B4#1730B4

#1730B4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 39.9% C 0.207 H 266.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#1730B4
RGBrgb(23, 48, 180)
HSLhsl(230, 77%, 40%)
HSVhsv(230, 87%, 71%)
CMYKcmyk(87.2%, 73.3%, 0%, 29.4%)
CIE-LABlab(28.35, 42.04, -71.10)
CIE-LCHlch(28.35, 82.60, 300.59°)
OKLaboklab(39.95% -0.0127 -0.2062)
OKLCHoklch(39.95% 0.207 266.5)
XYZxyz(9.6456, 5.5901, 43.7418)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1730B4 #B49B17
analogous
#177EB4 #1730B4 #4D17B4
triadic
#1730B4 #B41730 #30B417
tetradic
#1730B4 #B4177E #B49B17 #17B44D
square
#1730B4 #B4177E #B49B17 #17B44D
split-complementary
#1730B4 #B44D17 #7EB417
monochromatic
#091347 #10227E #1730B4 #2543E3 #5B72EA

Accessibility & contrast

On white

9.91
#1730B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1730B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1730B4
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1730B4#FFFFFF#000000##FFFFFF
##1730B41.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1730b4;
/* rgb */ color: rgb(23, 48, 180);
/* oklch */ color: oklch(39.9% 0.207 266.5);
Tailwind
colors: {
  custom: {
    50: '#7669cc',
    500: '#1730b4',
    950: '#000000',
  },
}
SCSS
$custom: #1730b4;
$custom-light: #7669cc;
$custom-dark: #000000;
JSON
{
  "hex": "#1730b4",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 230.446,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.20657,
    "h": 266.5
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#1730B4
secondary
#CEBB59
accent
#D534F4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #1730B4

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

Preview Lab → · Contrast checker → · Palette generator →

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