#174081#174081

#174081 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.119 H 259.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#174081
RGBrgb(23, 64, 129)
HSLhsl(217, 70%, 30%)
HSVhsv(217, 82%, 51%)
CMYKcmyk(82.2%, 50.4%, 0%, 49.4%)
CIE-LABlab(27.93, 11.33, -40.69)
CIE-LCHlch(27.93, 42.24, 285.56°)
OKLaboklab(38.24% -0.0217 -0.117)
OKLCHoklch(38.24% 0.119 259.5)
XYZxyz(6.1477, 5.4332, 21.4893)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174081 #815817
analogous
#177581 #174081 #231781
triadic
#174081 #811740 #408117
tetradic
#174081 #811775 #815817 #178123
square
#174081 #811775 #815817 #178123
split-complementary
#174081 #812317 #758117
monochromatic
#050D1A #0E264D #174081 #205AB5 #3777DB

Accessibility & contrast

On white

10.06
#174081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#174081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174081
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174081#FFFFFF#000000##FFFFFF
##1740811.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4783
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #174081;
/* rgb */ color: rgb(23, 64, 129);
/* oklch */ color: oklch(38.2% 0.119 259.5);
Tailwind
colors: {
  custom: {
    50: '#6774a6',
    500: '#174081',
    950: '#000000',
  },
}
SCSS
$custom: #174081;
$custom-light: #6774a6;
$custom-dark: #000000;
JSON
{
  "hex": "#174081",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 216.792,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38235,
    "c": 0.11902,
    "h": 259.5
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#174081
secondary
#B5873E
accent
#A83BED
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #174081

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

Preview Lab → · Contrast checker → · Palette generator →

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