#17255E#17255E

#17255E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.103 H 268.7°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#17255E
RGBrgb(23, 37, 94)
HSLhsl(228, 61%, 23%)
HSVhsv(228, 76%, 37%)
CMYKcmyk(75.5%, 60.6%, 0%, 63.1%)
CIE-LABlab(17.05, 16.16, -35.81)
CIE-LCHlch(17.05, 39.28, 294.29°)
OKLaboklab(29.1% -0.0024 -0.1032)
OKLCHoklch(29.1% 0.103 268.7)
XYZxyz(3.0346, 2.3131, 10.8741)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17255E #5E5017
analogous
#17485E #17255E #2C175E
triadic
#17255E #5E1725 #255E17
tetradic
#17255E #5E1748 #5E5017 #175E2C
square
#17255E #5E1748 #5E5017 #175E2C
split-complementary
#17255E #5E2C17 #485E17
monochromatic
#060A19 #0B122D #17255E #23388F #2F4CC0

Accessibility & contrast

On white

14.36
#17255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#17255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17255E
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17255E#FFFFFF#000000##FFFFFF
##17255E1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17255e;
/* rgb */ color: rgb(23, 37, 94);
/* oklch */ color: oklch(29.1% 0.103 268.7);
Tailwind
colors: {
  custom: {
    50: '#5f5f8c',
    500: '#17255e',
    950: '#000000',
  },
}
SCSS
$custom: #17255e;
$custom-light: #5f5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#17255e",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 228.169,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29104,
    "c": 0.10319,
    "h": 268.7
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#17255E
secondary
#95833C
accent
#C444E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17255E

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

Preview Lab → · Contrast checker → · Palette generator →

#17255E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva