#4174BC#4174BC

#4174BC is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.8% C 0.125 H 257.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4174BC
RGBrgb(65, 116, 188)
HSLhsl(215, 49%, 50%)
HSVhsv(215, 65%, 74%)
CMYKcmyk(65.4%, 38.3%, 0%, 26.3%)
CIE-LABlab(48.57, 6.14, -42.95)
CIE-LCHlch(48.57, 43.39, 278.14°)
OKLaboklab(55.82% -0.0275 -0.1221)
OKLCHoklch(55.82% 0.125 257.3)
XYZxyz(17.4992, 17.2437, 49.9734)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174BC #BC8941
analogous
#41B2BC #4174BC #4B41BC
triadic
#4174BC #BC4174 #74BC41
tetradic
#4174BC #BC41B2 #BC8941 #41BC4B
square
#4174BC #BC41B2 #BC8941 #41BC4B
split-complementary
#4174BC #BC4B41 #B2BC41
monochromatic
#223C61 #31588F #4174BC #6E95CD #9BB6DC

Accessibility & contrast

On white

4.72
#4174BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4174BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4174BC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174BC#FFFFFF#000000##FFFFFF
##4174BC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547ABF
Deuteranopia (green-blind)
#426EBB
Tritanopia (blue-blind)
#00858F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4174bc;
/* rgb */ color: rgb(65, 116, 188);
/* oklch */ color: oklch(55.8% 0.125 257.3);
Tailwind
colors: {
  custom: {
    50: '#829bd0',
    500: '#4174bc',
    950: '#000000',
  },
}
SCSS
$custom: #4174bc;
$custom-light: #829bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4174bc",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 215.122,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.12519,
    "h": 257.3
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#4174BC
secondary
#C9B190
accent
#A050D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4174BC

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

Preview Lab → · Contrast checker → · Palette generator →

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