#6174CB#6174CB

#6174CB is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.5% C 0.135 H 272.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6174CB
RGBrgb(97, 116, 203)
HSLhsl(229, 50%, 59%)
HSVhsv(229, 52%, 80%)
CMYKcmyk(52.2%, 42.9%, 0%, 20.4%)
CIE-LABlab(51.09, 17.61, -47.45)
CIE-LCHlch(51.09, 50.61, 290.36°)
OKLaboklab(58.48% 0.0055 -0.1347)
OKLCHoklch(58.48% 0.135 272.3)
XYZxyz(21.9512, 19.3425, 59.0651)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174CB #CBB861
analogous
#61A9CB #6174CB #8361CB
triadic
#6174CB #CB6174 #74CB61
tetradic
#6174CB #CB61A9 #CBB861 #61CB83
square
#6174CB #CB61A9 #CBB861 #61CB83
split-complementary
#6174CB #CB8361 #A9CB61
monochromatic
#2C3C86 #3B51B4 #6174CB #8F9DDA #BDC5E9

Accessibility & contrast

On white

4.31
#6174CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#6174CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174CB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174CB#FFFFFF#000000##000000
##6174CB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECE
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#308796
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6174cb;
/* rgb */ color: rgb(97, 116, 203);
/* oklch */ color: oklch(58.5% 0.135 272.3);
Tailwind
colors: {
  custom: {
    50: '#959bdb',
    500: '#6174cb',
    950: '#000000',
  },
}
SCSS
$custom: #6174cb;
$custom-light: #959bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6174cb",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 229.245,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58481,
    "c": 0.1348,
    "h": 272.3
  },
  "luminance": 0.19344
}

Semantic roles & 50–950 ramp

primary
#6174CB
secondary
#D9D1AF
accent
#C14EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6174CB

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

Preview Lab → · Contrast checker → · Palette generator →

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