#174990#174990

#174990 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.5% C 0.129 H 258.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#174990
RGBrgb(23, 73, 144)
HSLhsl(215, 72%, 33%)
HSVhsv(215, 84%, 56%)
CMYKcmyk(84%, 49.3%, 0%, 43.5%)
CIE-LABlab(31.72, 11.31, -43.87)
CIE-LCHlch(31.72, 45.30, 284.46°)
OKLaboklab(41.48% -0.0265 -0.1262)
OKLCHoklch(41.48% 0.129 258.1)
XYZxyz(7.7681, 6.9599, 27.3141)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174990 #905E17
analogous
#178590 #174990 #221790
triadic
#174990 #901749 #499017
tetradic
#174990 #901785 #905E17 #179022
square
#174990 #901785 #905E17 #179022
split-complementary
#174990 #902217 #859017
monochromatic
#061326 #0F2E5B #174990 #1F64C5 #4183E1

Accessibility & contrast

On white

8.78
#174990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#174990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174990
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174990#FFFFFF#000000##FFFFFF
##1749901.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205093
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #174990;
/* rgb */ color: rgb(23, 73, 144);
/* oklch */ color: oklch(41.5% 0.129 258.1);
Tailwind
colors: {
  custom: {
    50: '#6a7bb1',
    500: '#174990',
    950: '#000000',
  },
}
SCSS
$custom: #174990;
$custom-light: #6a7bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#174990",
  "rgb": {
    "r": 23,
    "g": 73,
    "b": 144
  },
  "hsl": {
    "h": 215.207,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4148,
    "c": 0.12891,
    "h": 258.1
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#174990
secondary
#C18C42
accent
#A439EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080911
muted
#7A7B80

Preview Lab

Preview with #174990

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

Preview Lab → · Contrast checker → · Palette generator →

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