#174388#174388

#174388 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.5% C 0.125 H 259.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#174388
RGBrgb(23, 67, 136)
HSLhsl(217, 71%, 31%)
HSVhsv(217, 83%, 53%)
CMYKcmyk(83.1%, 50.7%, 0%, 46.7%)
CIE-LABlab(29.34, 12.14, -42.77)
CIE-LCHlch(29.34, 44.46, 285.85°)
OKLaboklab(39.48% -0.023 -0.1231)
OKLCHoklch(39.48% 0.125 259.4)
XYZxyz(6.8028, 5.9732, 24.0822)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174388 #885C17
analogous
#177B88 #174388 #231788
triadic
#174388 #881743 #438817
tetradic
#174388 #88177B #885C17 #178823
square
#174388 #88177B #885C17 #178823
split-complementary
#174388 #882317 #7B8817
monochromatic
#050F1F #0E2954 #174388 #205DBC #3B7BDE

Accessibility & contrast

On white

9.57
#174388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#174388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174388
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174388#FFFFFF#000000##FFFFFF
##1743881.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8B
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174388;
/* rgb */ color: rgb(23, 67, 136);
/* oklch */ color: oklch(39.5% 0.125 259.4);
Tailwind
colors: {
  custom: {
    50: '#6876ab',
    500: '#174388',
    950: '#000000',
  },
}
SCSS
$custom: #174388;
$custom-light: #6876ab;
$custom-dark: #000000;
JSON
{
  "hex": "#174388",
  "rgb": {
    "r": 23,
    "g": 67,
    "b": 136
  },
  "hsl": {
    "h": 216.637,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39478,
    "c": 0.1252,
    "h": 259.4
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#174388
secondary
#BC8B3F
accent
#A83AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174388

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

Preview Lab → · Contrast checker → · Palette generator →

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