#174381#174381

#174381 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.115 H 257.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#174381
RGBrgb(23, 67, 129)
HSLhsl(215, 70%, 30%)
HSVhsv(215, 82%, 51%)
CMYKcmyk(82.2%, 48.1%, 0%, 49.4%)
CIE-LABlab(28.85, 9.25, -39.22)
CIE-LCHlch(28.85, 40.29, 283.27°)
OKLaboklab(38.94% -0.0242 -0.1126)
OKLCHoklch(38.94% 0.115 257.9)
XYZxyz(6.3215, 5.7807, 21.5472)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174381 #815517
analogous
#177881 #174381 #201781
triadic
#174381 #811743 #438117
tetradic
#174381 #811778 #815517 #178120
square
#174381 #811778 #815517 #178120
split-complementary
#174381 #812017 #788117
monochromatic
#050D1A #0E284D #174381 #205EB5 #377BDB

Accessibility & contrast

On white

9.74
#174381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#174381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174381
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174381#FFFFFF#000000##FFFFFF
##1743811.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214983
Deuteranopia (green-blind)
#054080
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174381;
/* rgb */ color: rgb(23, 67, 129);
/* oklch */ color: oklch(38.9% 0.115 257.9);
Tailwind
colors: {
  custom: {
    50: '#6676a6',
    500: '#174381',
    950: '#000000',
  },
}
SCSS
$custom: #174381;
$custom-light: #6676a6;
$custom-dark: #000000;
JSON
{
  "hex": "#174381",
  "rgb": {
    "r": 23,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 215.094,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38941,
    "c": 0.11519,
    "h": 257.9
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#174381
secondary
#B5843E
accent
#A33BED
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #174381

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

Preview Lab → · Contrast checker → · Palette generator →

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