#4174C2#4174C2

#4174C2 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.2% C 0.133 H 258.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4174C2
RGBrgb(65, 116, 194)
HSLhsl(216, 51%, 51%)
HSVhsv(216, 66%, 76%)
CMYKcmyk(66.5%, 40.2%, 0%, 23.9%)
CIE-LABlab(48.89, 8.26, -45.89)
CIE-LCHlch(48.89, 46.62, 280.21°)
OKLaboklab(56.18% -0.0262 -0.1307)
OKLCHoklch(56.18% 0.133 258.7)
XYZxyz(18.1595, 17.5078, 53.4508)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174C2 #C28F41
analogous
#41B4C2 #4174C2 #4E41C2
triadic
#4174C2 #C24174 #74C241
tetradic
#4174C2 #C241B4 #C28F41 #41C24E
square
#4174C2 #C241B4 #C28F41 #41C24E
split-complementary
#4174C2 #C24E41 #B4C241
monochromatic
#213D67 #305896 #4174C2 #6F96D1 #9EB8E0

Accessibility & contrast

On white

4.66
#4174C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4174C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4174C2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174C2#FFFFFF#000000##FFFFFF
##4174C21.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#3D6FC0
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4174c2;
/* rgb */ color: rgb(65, 116, 194);
/* oklch */ color: oklch(56.2% 0.133 258.7);
Tailwind
colors: {
  custom: {
    50: '#839bd5',
    500: '#4174c2',
    950: '#000000',
  },
}
SCSS
$custom: #4174c2;
$custom-light: #839bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4174c2",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 194
  },
  "hsl": {
    "h": 216.279,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56178,
    "c": 0.13331,
    "h": 258.7
  },
  "luminance": 0.1751
}

Semantic roles & 50–950 ramp

primary
#4174C2
secondary
#CCB593
accent
#A34DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4174C2

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

Preview Lab → · Contrast checker → · Palette generator →

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