#6174AF#6174AF

#6174AF is a mid, moderate blue. Relative luminance 0.181; OKLCH L 56.9% C 0.094 H 269.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6174AF
RGBrgb(97, 116, 175)
HSLhsl(225, 33%, 53%)
HSVhsv(225, 45%, 69%)
CMYKcmyk(44.6%, 33.7%, 0%, 31.4%)
CIE-LABlab(49.65, 8.92, -33.61)
CIE-LCHlch(49.65, 34.77, 284.87°)
OKLaboklab(56.91% -0.0006 -0.0943)
OKLCHoklch(56.91% 0.094 269.6)
XYZxyz(18.9106, 18.1263, 43.0514)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174AF #AF9C61
analogous
#619BAF #6174AF #7561AF
triadic
#6174AF #AF6174 #74AF61
tetradic
#6174AF #AF619B #AF9C61 #61AF75
square
#6174AF #AF619B #AF9C61 #61AF75
split-complementary
#6174AF #AF7561 #9BAF61
monochromatic
#323E63 #47588C #6174AF #8A98C4 #B2BBD8

Accessibility & contrast

On white

4.54
#6174AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6174AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174AF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174AF#FFFFFF#000000##000000
##6174AF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB1
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#458089
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6174af;
/* rgb */ color: rgb(97, 116, 175);
/* oklch */ color: oklch(56.9% 0.094 269.6);
Tailwind
colors: {
  custom: {
    50: '#919bc7',
    500: '#6174af',
    950: '#000000',
  },
}
SCSS
$custom: #6174af;
$custom-light: #919bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6174af",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 175
  },
  "hsl": {
    "h": 225.385,
    "s": 32.773,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.09431,
    "h": 269.6
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#6174AF
secondary
#C7BEA5
accent
#AF5FC9
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #6174AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6174AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva