#17427F#17427F

#17427F is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.114 H 257.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#17427F
RGBrgb(23, 66, 127)
HSLhsl(215, 69%, 29%)
HSVhsv(215, 82%, 50%)
CMYKcmyk(81.9%, 48%, 0%, 50.2%)
CIE-LABlab(28.41, 9.11, -38.69)
CIE-LCHlch(28.41, 39.74, 283.26°)
OKLaboklab(38.55% -0.0238 -0.1111)
OKLCHoklch(38.55% 0.114 257.9)
XYZxyz(6.1309, 5.6102, 20.8343)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17427F #7F5417
analogous
#17767F #17427F #20177F
triadic
#17427F #7F1742 #427F17
tetradic
#17427F #7F1776 #7F5417 #177F20
square
#17427F #7F1776 #7F5417 #177F20
split-complementary
#17427F #7F2017 #767F17
monochromatic
#050D1A #0E274B #17427F #205DB3 #367ADB

Accessibility & contrast

On white

9.90
#17427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#17427F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17427F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17427F#FFFFFF#000000##FFFFFF
##17427F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214881
Deuteranopia (green-blind)
#053F7E
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #17427f;
/* rgb */ color: rgb(23, 66, 127);
/* oklch */ color: oklch(38.6% 0.114 257.9);
Tailwind
colors: {
  custom: {
    50: '#6675a4',
    500: '#17427f',
    950: '#000000',
  },
}
SCSS
$custom: #17427f;
$custom-light: #6675a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17427f",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 215.192,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38554,
    "c": 0.11357,
    "h": 257.9
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#17427F
secondary
#B4833E
accent
#A33CEC
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #17427F

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

Preview Lab → · Contrast checker → · Palette generator →

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