#4174C0#4174C0

#4174C0 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.1% C 0.131 H 258.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4174C0
RGBrgb(65, 116, 192)
HSLhsl(216, 50%, 50%)
HSVhsv(216, 66%, 75%)
CMYKcmyk(66.1%, 39.6%, 0%, 24.7%)
CIE-LABlab(48.78, 7.56, -44.91)
CIE-LCHlch(48.78, 45.54, 279.55°)
OKLaboklab(56.06% -0.0266 -0.1279)
OKLCHoklch(56.06% 0.131 258.2)
XYZxyz(17.9364, 17.4186, 52.2758)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174C0 #C08D41
analogous
#41B3C0 #4174C0 #4E41C0
triadic
#4174C0 #C04174 #74C041
tetradic
#4174C0 #C041B3 #C08D41 #41C04E
square
#4174C0 #C041B3 #C08D41 #41C04E
split-complementary
#4174C0 #C04E41 #B3C041
monochromatic
#223D65 #315893 #4174C0 #6F96CF #9DB7DE

Accessibility & contrast

On white

4.68
#4174C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4174C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4174C0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174C0#FFFFFF#000000##FFFFFF
##4174C01.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#527AC3
Deuteranopia (green-blind)
#3F6EBE
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4174c0;
/* rgb */ color: rgb(65, 116, 192);
/* oklch */ color: oklch(56.1% 0.131 258.2);
Tailwind
colors: {
  custom: {
    50: '#839bd3',
    500: '#4174c0',
    950: '#000000',
  },
}
SCSS
$custom: #4174c0;
$custom-light: #839bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4174c0",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 192
  },
  "hsl": {
    "h": 215.906,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56056,
    "c": 0.1306,
    "h": 258.2
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#4174C0
secondary
#CBB492
accent
#A24EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4174C0

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

Preview Lab → · Contrast checker → · Palette generator →

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