#4178CC#4178CC

#4178CC is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.7% C 0.142 H 258.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4178CC
RGBrgb(65, 120, 204)
HSLhsl(216, 58%, 53%)
HSVhsv(216, 68%, 80%)
CMYKcmyk(68.1%, 41.2%, 0%, 20%)
CIE-LABlab(50.59, 9.35, -48.91)
CIE-LCHlch(50.59, 49.80, 280.82°)
OKLaboklab(57.67% -0.0279 -0.1395)
OKLCHoklch(57.67% 0.142 258.7)
XYZxyz(19.7916, 18.9144, 59.7228)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178CC #CC9541
analogous
#41BDCC #4178CC #4F41CC
triadic
#4178CC #CC4178 #78CC41
tetradic
#4178CC #CC41BD #CC9541 #41CC4F
square
#4178CC #CC41BD #CC9541 #41CC4F
split-complementary
#4178CC #CC4F41 #BDCC41
monochromatic
#1F4074 #2C5BA4 #4178CC #719AD9 #A1BDE6

Accessibility & contrast

On white

4.39
#4178CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4178CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178CC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178CC#FFFFFF#000000##000000
##4178CC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCF
Deuteranopia (green-blind)
#3B72CA
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4178cc;
/* rgb */ color: rgb(65, 120, 204);
/* oklch */ color: oklch(57.7% 0.142 258.7);
Tailwind
colors: {
  custom: {
    50: '#859edc',
    500: '#4178cc',
    950: '#000000',
  },
}
SCSS
$custom: #4178cc;
$custom-light: #859edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4178cc",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 216.259,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57672,
    "c": 0.1423,
    "h": 258.7
  },
  "luminance": 0.18916
}

Semantic roles & 50–950 ramp

primary
#4178CC
secondary
#D3BB96
accent
#A447E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4178CC

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

Preview Lab → · Contrast checker → · Palette generator →

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