#17307B#17307B

#17307B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.131 H 265.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#17307B
RGBrgb(23, 48, 123)
HSLhsl(225, 68%, 29%)
HSVhsv(225, 81%, 48%)
CMYKcmyk(81.3%, 61%, 0%, 51.8%)
CIE-LABlab(22.74, 20.16, -45.34)
CIE-LCHlch(22.74, 49.62, 293.97°)
OKLaboklab(34.15% -0.01 -0.131)
OKLCHoklch(34.15% 0.131 265.6)
XYZxyz(4.9842, 3.7255, 19.1915)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17307B #7B6217
analogous
#17627B #17307B #30177B
triadic
#17307B #7B1730 #307B17
tetradic
#17307B #7B1762 #7B6217 #177B30
square
#17307B #7B1762 #7B6217 #177B30
split-complementary
#17307B #7B3017 #627B17
monochromatic
#050A1A #0D1C47 #17307B #2144AF #335DD9

Accessibility & contrast

On white

12.03
#17307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#17307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17307B
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17307B#FFFFFF#000000##FFFFFF
##17307B1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #17307b;
/* rgb */ color: rgb(23, 48, 123);
/* oklch */ color: oklch(34.1% 0.131 265.6);
Tailwind
colors: {
  custom: {
    50: '#6667a2',
    500: '#17307b',
    950: '#000000',
  },
}
SCSS
$custom: #17307b;
$custom-light: #6667a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17307b",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 225,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34148,
    "c": 0.13137,
    "h": 265.6
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#17307B
secondary
#B0933E
accent
#C03CEB
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17307B

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

Preview Lab → · Contrast checker → · Palette generator →

#17307B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva