#4174C4#4174C4

#4174C4 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.3% C 0.136 H 259.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4174C4
RGBrgb(65, 116, 196)
HSLhsl(217, 53%, 51%)
HSVhsv(217, 67%, 77%)
CMYKcmyk(66.8%, 40.8%, 0%, 23.1%)
CIE-LABlab(49.01, 8.97, -46.86)
CIE-LCHlch(49.01, 47.71, 280.84°)
OKLaboklab(56.3% -0.0257 -0.1336)
OKLCHoklch(56.3% 0.136 259.1)
XYZxyz(18.3856, 17.5983, 54.6417)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174C4 #C49141
analogous
#41B5C4 #4174C4 #4F41C4
triadic
#4174C4 #C44174 #74C441
tetradic
#4174C4 #C441B5 #C49141 #41C44F
square
#4174C4 #C441B5 #C49141 #41C44F
split-complementary
#4174C4 #C44F41 #B5C441
monochromatic
#213D6A #2F5898 #4174C4 #7096D3 #9EB8E1

Accessibility & contrast

On white

4.65
#4174C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4174C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4174C4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174C4#FFFFFF#000000##FFFFFF
##4174C41.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F7BC7
Deuteranopia (green-blind)
#3B6FC2
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4174c4;
/* rgb */ color: rgb(65, 116, 196);
/* oklch */ color: oklch(56.3% 0.136 259.1);
Tailwind
colors: {
  custom: {
    50: '#839bd6',
    500: '#4174c4',
    950: '#000000',
  },
}
SCSS
$custom: #4174c4;
$custom-light: #839bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4174c4",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 196
  },
  "hsl": {
    "h": 216.641,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.563,
    "c": 0.13602,
    "h": 259.1
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#4174C4
secondary
#CDB793
accent
#A44CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4174C4

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

Preview Lab → · Contrast checker → · Palette generator →

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