#4178C8#4178C8

#4178C8 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.4% C 0.137 H 257.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4178C8
RGBrgb(65, 120, 200)
HSLhsl(216, 55%, 52%)
HSVhsv(216, 68%, 78%)
CMYKcmyk(67.5%, 40%, 0%, 21.6%)
CIE-LABlab(50.36, 7.92, -46.98)
CIE-LCHlch(50.36, 47.65, 279.57°)
OKLaboklab(57.43% -0.0288 -0.1339)
OKLCHoklch(57.43% 0.137 257.9)
XYZxyz(19.3180, 18.7249, 57.2286)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178C8 #C89141
analogous
#41BBC8 #4178C8 #4E41C8
triadic
#4178C8 #C84178 #78C841
tetradic
#4178C8 #C841BB #C89141 #41C84E
square
#4178C8 #C841BB #C89141 #41C84E
split-complementary
#4178C8 #C84E41 #BBC841
monochromatic
#20406F #2E5C9E #4178C8 #709AD6 #A0BBE3

Accessibility & contrast

On white

4.43
#4178C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4178C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178C8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178C8#FFFFFF#000000##000000
##4178C81.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCB
Deuteranopia (green-blind)
#3F72C6
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4178c8;
/* rgb */ color: rgb(65, 120, 200);
/* oklch */ color: oklch(57.4% 0.137 257.9);
Tailwind
colors: {
  custom: {
    50: '#849ed9',
    500: '#4178c8',
    950: '#000000',
  },
}
SCSS
$custom: #4178c8;
$custom-light: #849ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4178c8",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 215.556,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57427,
    "c": 0.13694,
    "h": 257.9
  },
  "luminance": 0.18727
}

Semantic roles & 50–950 ramp

primary
#4178C8
secondary
#D0B895
accent
#A249DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4178C8

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

Preview Lab → · Contrast checker → · Palette generator →

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