#4174BD#4174BD

#4174BD is a mid, vivid blue. Relative luminance 0.173; OKLCH L 55.9% C 0.127 H 257.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4174BD
RGBrgb(65, 116, 189)
HSLhsl(215, 49%, 50%)
HSVhsv(215, 66%, 74%)
CMYKcmyk(65.6%, 38.6%, 0%, 25.9%)
CIE-LABlab(48.62, 6.50, -43.44)
CIE-LCHlch(48.62, 43.93, 278.50°)
OKLaboklab(55.88% -0.0273 -0.1236)
OKLCHoklch(55.88% 0.127 257.5)
XYZxyz(17.6074, 17.2870, 50.5431)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174BD #BD8A41
analogous
#41B2BD #4174BD #4C41BD
triadic
#4174BD #BD4174 #74BD41
tetradic
#4174BD #BD41B2 #BD8A41 #41BD4C
square
#4174BD #BD41B2 #BD8A41 #41BD4C
split-complementary
#4174BD #BD4C41 #B2BD41
monochromatic
#223C62 #31588F #4174BD #6E95CD #9CB6DD

Accessibility & contrast

On white

4.71
#4174BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4174BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4174BD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174BD#FFFFFF#000000##FFFFFF
##4174BD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4174bd;
/* rgb */ color: rgb(65, 116, 189);
/* oklch */ color: oklch(55.9% 0.127 257.5);
Tailwind
colors: {
  custom: {
    50: '#829bd1',
    500: '#4174bd',
    950: '#000000',
  },
}
SCSS
$custom: #4174bd;
$custom-light: #829bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4174bd",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 189
  },
  "hsl": {
    "h": 215.323,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55876,
    "c": 0.12654,
    "h": 257.5
  },
  "luminance": 0.17289
}

Semantic roles & 50–950 ramp

primary
#4174BD
secondary
#C9B291
accent
#A04FD8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4174BD

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

Preview Lab → · Contrast checker → · Palette generator →

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