#4174CD#4174CD

#4174CD is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.9% C 0.148 H 260.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4174CD
RGBrgb(65, 116, 205)
HSLhsl(218, 58%, 53%)
HSVhsv(218, 68%, 80%)
CMYKcmyk(68.3%, 43.4%, 0%, 19.6%)
CIE-LABlab(49.52, 12.18, -51.18)
CIE-LCHlch(49.52, 52.61, 283.39°)
OKLaboklab(56.87% -0.024 -0.1463)
OKLCHoklch(56.87% 0.148 260.7)
XYZxyz(19.4409, 18.0204, 60.1995)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174CD #CD9A41
analogous
#41BACD #4174CD #5441CD
triadic
#4174CD #CD4174 #74CD41
tetradic
#4174CD #CD41BA #CD9A41 #41CD54
square
#4174CD #CD41BA #CD9A41 #41CD54
split-complementary
#4174CD #CD5441 #BACD41
monochromatic
#1F3E75 #2C58A5 #4174CD #7197DA #A2BBE6

Accessibility & contrast

On white

4.56
#4174CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4174CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4174CD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174CD#FFFFFF#000000##000000
##4174CD1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD0
Deuteranopia (green-blind)
#3170CB
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4174cd;
/* rgb */ color: rgb(65, 116, 205);
/* oklch */ color: oklch(56.9% 0.148 260.7);
Tailwind
colors: {
  custom: {
    50: '#859bdd',
    500: '#4174cd',
    950: '#000000',
  },
}
SCSS
$custom: #4174cd;
$custom-light: #859bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4174cd",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 218.143,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56866,
    "c": 0.14822,
    "h": 260.7
  },
  "luminance": 0.18022
}

Semantic roles & 50–950 ramp

primary
#4174CD
secondary
#D3BD97
accent
#A946E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4174CD

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

Preview Lab → · Contrast checker → · Palette generator →

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