#171265#171265

#171265 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.137 H 274.2°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#171265
RGBrgb(23, 18, 101)
HSLhsl(244, 70%, 23%)
HSVhsv(244, 82%, 40%)
CMYKcmyk(77.2%, 82.2%, 0%, 60.4%)
CIE-LABlab(12.95, 31.78, -47.18)
CIE-LCHlch(12.95, 56.88, 303.97°)
OKLaboklab(26.34% 0.0101 -0.1365)
OKLCHoklch(26.34% 0.137 274.2)
XYZxyz(2.9178, 1.5541, 12.4556)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171265 #606512
analogous
#123665 #171265 #401265
triadic
#171265 #651712 #126517
tetradic
#171265 #651236 #606512 #126540
square
#171265 #651236 #606512 #126540
split-complementary
#171265 #654012 #366512
monochromatic
#06051A #0B0931 #171265 #231B99 #2F25CD

Accessibility & contrast

On white

16.02
#171265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#171265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171265
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171265#FFFFFF#000000##FFFFFF
##1712651.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001E64
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #171265;
/* rgb */ color: rgb(23, 18, 101);
/* oklch */ color: oklch(26.3% 0.137 274.2);
Tailwind
colors: {
  custom: {
    50: '#635292',
    500: '#171265',
    950: '#000000',
  },
}
SCSS
$custom: #171265;
$custom-light: #635292;
$custom-dark: #000000;
JSON
{
  "hex": "#171265",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 243.614,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26338,
    "c": 0.13683,
    "h": 274.2
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#171265
secondary
#979D36
accent
#ED3BE2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171265

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

Preview Lab → · Contrast checker → · Palette generator →

#171265 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva