#17307F#17307F

#17307F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.137 H 265.9°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#17307F
RGBrgb(23, 48, 127)
HSLhsl(226, 69%, 29%)
HSVhsv(226, 82%, 50%)
CMYKcmyk(81.9%, 62.2%, 0%, 50.2%)
CIE-LABlab(23.09, 21.79, -47.30)
CIE-LCHlch(23.09, 52.07, 294.73°)
OKLaboklab(34.52% -0.0099 -0.1367)
OKLCHoklch(34.52% 0.137 265.9)
XYZxyz(5.2397, 3.8278, 20.5372)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17307F #7F6617
analogous
#17647F #17307F #32177F
triadic
#17307F #7F1730 #307F17
tetradic
#17307F #7F1764 #7F6617 #177F32
square
#17307F #7F1764 #7F6617 #177F32
split-complementary
#17307F #7F3217 #647F17
monochromatic
#050A1A #0E1C4B #17307F #2044B3 #365DDB

Accessibility & contrast

On white

11.89
#17307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#17307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17307F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17307F#FFFFFF#000000##FFFFFF
##17307F1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #17307f;
/* rgb */ color: rgb(23, 48, 127);
/* oklch */ color: oklch(34.5% 0.137 265.9);
Tailwind
colors: {
  custom: {
    50: '#6767a5',
    500: '#17307f',
    950: '#000000',
  },
}
SCSS
$custom: #17307f;
$custom-light: #6767a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17307f",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 225.577,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3452,
    "c": 0.13709,
    "h": 265.9
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#17307F
secondary
#B4973E
accent
#C23CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17307F

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

Preview Lab → · Contrast checker → · Palette generator →

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