#174281#174281

#174281 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.116 H 258.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#174281
RGBrgb(23, 66, 129)
HSLhsl(216, 70%, 30%)
HSVhsv(216, 82%, 51%)
CMYKcmyk(82.2%, 48.8%, 0%, 49.4%)
CIE-LABlab(28.55, 9.94, -39.71)
CIE-LCHlch(28.55, 40.94, 284.06°)
OKLaboklab(38.71% -0.0234 -0.1141)
OKLCHoklch(38.71% 0.116 258.4)
XYZxyz(6.2626, 5.6628, 21.5276)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174281 #815617
analogous
#177781 #174281 #211781
triadic
#174281 #811742 #428117
tetradic
#174281 #811777 #815617 #178121
square
#174281 #811777 #815617 #178121
split-complementary
#174281 #812117 #778117
monochromatic
#050D1A #0E274D #174281 #205DB5 #377ADB

Accessibility & contrast

On white

9.85
#174281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#174281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174281
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174281#FFFFFF#000000##FFFFFF
##1742811.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4883
Deuteranopia (green-blind)
#003F80
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174281;
/* rgb */ color: rgb(23, 66, 129);
/* oklch */ color: oklch(38.7% 0.116 258.4);
Tailwind
colors: {
  custom: {
    50: '#6675a6',
    500: '#174281',
    950: '#000000',
  },
}
SCSS
$custom: #174281;
$custom-light: #6675a6;
$custom-dark: #000000;
JSON
{
  "hex": "#174281",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 215.66,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38705,
    "c": 0.11645,
    "h": 258.4
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#174281
secondary
#B5853E
accent
#A53BED
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #174281

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

Preview Lab → · Contrast checker → · Palette generator →

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