#4174DC#4174DC

#4174DC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.9% C 0.168 H 262.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4174DC
RGBrgb(65, 116, 220)
HSLhsl(220, 69%, 56%)
HSVhsv(220, 70%, 86%)
CMYKcmyk(70.5%, 47.3%, 0%, 13.7%)
CIE-LABlab(50.43, 17.56, -58.24)
CIE-LCHlch(50.43, 60.83, 286.78°)
OKLaboklab(57.86% -0.0215 -0.167)
OKLCHoklch(57.86% 0.168 262.7)
XYZxyz(21.3390, 18.7797, 70.1965)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174DC #DCA941
analogous
#41C1DC #4174DC #5B41DC
triadic
#4174DC #DC4174 #74DC41
tetradic
#4174DC #DC41C1 #DCA941 #41DC5B
square
#4174DC #DC41C1 #DCA941 #41DC5B
split-complementary
#4174DC #DC5B41 #C1DC41
monochromatic
#193E89 #2356BD #4174DC #759AE6 #A8C0EF

Accessibility & contrast

On white

4.42
#4174DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4174DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4174DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174DC#FFFFFF#000000##000000
##4174DC1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#1371DA
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4174dc;
/* rgb */ color: rgb(65, 116, 220);
/* oklch */ color: oklch(57.9% 0.168 262.7);
Tailwind
colors: {
  custom: {
    50: '#889be7',
    500: '#4174dc',
    950: '#000000',
  },
}
SCSS
$custom: #4174dc;
$custom-light: #889be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4174dc",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 220.258,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57856,
    "c": 0.16841,
    "h": 262.7
  },
  "luminance": 0.18782
}

Semantic roles & 50–950 ramp

primary
#4174DC
secondary
#DDC79C
accent
#B23CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4174DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4174DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva