#4174CC#4174CC

#4174CC is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.8% C 0.147 H 260.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4174CC
RGBrgb(65, 116, 204)
HSLhsl(218, 58%, 53%)
HSVhsv(218, 68%, 80%)
CMYKcmyk(68.1%, 43.1%, 0%, 20%)
CIE-LABlab(49.46, 11.82, -50.71)
CIE-LCHlch(49.46, 52.07, 283.12°)
OKLaboklab(56.8% -0.0241 -0.1449)
OKLCHoklch(56.8% 0.147 260.5)
XYZxyz(19.3206, 17.9723, 59.5658)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174CC #CC9941
analogous
#41B9CC #4174CC #5441CC
triadic
#4174CC #CC4174 #74CC41
tetradic
#4174CC #CC41B9 #CC9941 #41CC54
square
#4174CC #CC41B9 #CC9941 #41CC54
split-complementary
#4174CC #CC5441 #B9CC41
monochromatic
#1F3E74 #2C58A4 #4174CC #7197D9 #A1BBE6

Accessibility & contrast

On white

4.57
#4174CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4174CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4174CC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174CC#FFFFFF#000000##000000
##4174CC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCF
Deuteranopia (green-blind)
#3270CA
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4174cc;
/* rgb */ color: rgb(65, 116, 204);
/* oklch */ color: oklch(56.8% 0.147 260.5);
Tailwind
colors: {
  custom: {
    50: '#859bdc',
    500: '#4174cc',
    950: '#000000',
  },
}
SCSS
$custom: #4174cc;
$custom-light: #859bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4174cc",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 217.986,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56802,
    "c": 0.14686,
    "h": 260.5
  },
  "luminance": 0.17974
}

Semantic roles & 50–950 ramp

primary
#4174CC
secondary
#D3BC96
accent
#A847E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4174CC

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

Preview Lab → · Contrast checker → · Palette generator →

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