#4174C9#4174C9

#4174C9 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.6% C 0.143 H 260.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4174C9
RGBrgb(65, 116, 201)
HSLhsl(218, 56%, 52%)
HSVhsv(218, 68%, 79%)
CMYKcmyk(67.7%, 42.3%, 0%, 21.2%)
CIE-LABlab(49.29, 10.75, -49.27)
CIE-LCHlch(49.29, 50.43, 282.31°)
OKLaboklab(56.61% -0.0247 -0.1406)
OKLCHoklch(56.61% 0.143 260)
XYZxyz(18.9642, 17.8297, 57.6891)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174C9 #C99641
analogous
#41B8C9 #4174C9 #5241C9
triadic
#4174C9 #C94174 #74C941
tetradic
#4174C9 #C941B8 #C99641 #41C952
square
#4174C9 #C941B8 #C99641 #41C952
split-complementary
#4174C9 #C95241 #B8C941
monochromatic
#203E70 #2D589F #4174C9 #7197D7 #A0BAE4

Accessibility & contrast

On white

4.60
#4174C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4174C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4174C9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174C9#FFFFFF#000000##FFFFFF
##4174C91.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCC
Deuteranopia (green-blind)
#366FC7
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4174c9;
/* rgb */ color: rgb(65, 116, 201);
/* oklch */ color: oklch(56.6% 0.143 260.0);
Tailwind
colors: {
  custom: {
    50: '#849bda',
    500: '#4174c9',
    950: '#000000',
  },
}
SCSS
$custom: #4174c9;
$custom-light: #849bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4174c9",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 201
  },
  "hsl": {
    "h": 217.5,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56612,
    "c": 0.1428,
    "h": 260
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#4174C9
secondary
#D1BA95
accent
#A749DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4174C9

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

Preview Lab → · Contrast checker → · Palette generator →

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