#174181#174181

#174181 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.118 H 259.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#174181
RGBrgb(23, 65, 129)
HSLhsl(216, 70%, 30%)
HSVhsv(216, 82%, 51%)
CMYKcmyk(82.2%, 49.6%, 0%, 49.4%)
CIE-LABlab(28.24, 10.64, -40.20)
CIE-LCHlch(28.24, 41.59, 284.82°)
OKLaboklab(38.47% -0.0225 -0.1155)
OKLCHoklch(38.47% 0.118 259)
XYZxyz(6.2046, 5.5470, 21.5083)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174181 #815717
analogous
#177681 #174181 #221781
triadic
#174181 #811741 #418117
tetradic
#174181 #811776 #815717 #178122
square
#174181 #811776 #815717 #178122
split-complementary
#174181 #812217 #768117
monochromatic
#050D1A #0E274D #174181 #205BB5 #3778DB

Accessibility & contrast

On white

9.95
#174181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#174181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174181
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174181#FFFFFF#000000##FFFFFF
##1741811.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4883
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174181;
/* rgb */ color: rgb(23, 65, 129);
/* oklch */ color: oklch(38.5% 0.118 259.0);
Tailwind
colors: {
  custom: {
    50: '#6675a6',
    500: '#174181',
    950: '#000000',
  },
}
SCSS
$custom: #174181;
$custom-light: #6675a6;
$custom-dark: #000000;
JSON
{
  "hex": "#174181",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 216.226,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38469,
    "c": 0.11773,
    "h": 259
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#174181
secondary
#B5863E
accent
#A63BED
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #174181

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

Preview Lab → · Contrast checker → · Palette generator →

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