#4174C8#4174C8

#4174C8 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.5% C 0.141 H 259.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4174C8
RGBrgb(65, 116, 200)
HSLhsl(217, 55%, 52%)
HSVhsv(217, 68%, 78%)
CMYKcmyk(67.5%, 42%, 0%, 21.6%)
CIE-LABlab(49.23, 10.40, -48.79)
CIE-LCHlch(49.23, 49.88, 282.03°)
OKLaboklab(56.55% -0.0249 -0.1392)
OKLCHoklch(56.55% 0.141 259.9)
XYZxyz(18.8470, 17.7828, 57.0716)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174C8 #C89541
analogous
#41B8C8 #4174C8 #5241C8
triadic
#4174C8 #C84174 #74C841
tetradic
#4174C8 #C841B8 #C89541 #41C852
square
#4174C8 #C841B8 #C89541 #41C852
split-complementary
#4174C8 #C85241 #B8C841
monochromatic
#203E6F #2E589E #4174C8 #7097D6 #A0B9E3

Accessibility & contrast

On white

4.61
#4174C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4174C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4174C8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174C8#FFFFFF#000000##FFFFFF
##4174C81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D7CCB
Deuteranopia (green-blind)
#376FC6
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4174c8;
/* rgb */ color: rgb(65, 116, 200);
/* oklch */ color: oklch(56.5% 0.141 259.9);
Tailwind
colors: {
  custom: {
    50: '#849bd9',
    500: '#4174c8',
    950: '#000000',
  },
}
SCSS
$custom: #4174c8;
$custom-light: #849bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4174c8",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 217.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.14144,
    "h": 259.9
  },
  "luminance": 0.17785
}

Semantic roles & 50–950 ramp

primary
#4174C8
secondary
#D0BA95
accent
#A649DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4174C8

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

Preview Lab → · Contrast checker → · Palette generator →

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