#4174BE#4174BE

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

Color values

HEX#4174BE
RGBrgb(65, 116, 190)
HSLhsl(216, 49%, 50%)
HSVhsv(216, 66%, 75%)
CMYKcmyk(65.8%, 38.9%, 0%, 25.5%)
CIE-LABlab(48.67, 6.85, -43.93)
CIE-LCHlch(48.67, 44.46, 278.86°)
OKLaboklab(55.94% -0.0271 -0.125)
OKLCHoklch(55.94% 0.128 257.8)
XYZxyz(17.7163, 17.3306, 51.1167)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174BE #BE8B41
analogous
#41B3BE #4174BE #4C41BE
triadic
#4174BE #BE4174 #74BE41
tetradic
#4174BE #BE41B3 #BE8B41 #41BE4C
square
#4174BE #BE41B3 #BE8B41 #41BE4C
split-complementary
#4174BE #BE4C41 #B3BE41
monochromatic
#223C63 #315890 #4174BE #6F95CE #9CB7DD

Accessibility & contrast

On white

4.70
#4174BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4174BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4174BE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174BE#FFFFFF#000000##FFFFFF
##4174BE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#537AC1
Deuteranopia (green-blind)
#416EBC
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4174be;
/* rgb */ color: rgb(65, 116, 190);
/* oklch */ color: oklch(55.9% 0.128 257.8);
Tailwind
colors: {
  custom: {
    50: '#829bd2',
    500: '#4174be',
    950: '#000000',
  },
}
SCSS
$custom: #4174be;
$custom-light: #829bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4174be",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 190
  },
  "hsl": {
    "h": 215.52,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.55936,
    "c": 0.12789,
    "h": 257.8
  },
  "luminance": 0.17332
}

Semantic roles & 50–950 ramp

primary
#4174BE
secondary
#C9B391
accent
#A14FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4174BE

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

Preview Lab → · Contrast checker → · Palette generator →

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