#4178D0#4178D0

#4178D0 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.9% C 0.148 H 259.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4178D0
RGBrgb(65, 120, 208)
HSLhsl(217, 60%, 54%)
HSVhsv(217, 69%, 82%)
CMYKcmyk(68.8%, 42.3%, 0%, 18.4%)
CIE-LABlab(50.81, 10.77, -50.82)
CIE-LCHlch(50.81, 51.95, 281.97°)
OKLaboklab(57.92% -0.0271 -0.1451)
OKLCHoklch(57.92% 0.148 259.4)
XYZxyz(20.2775, 19.1087, 62.2820)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178D0 #D09941
analogous
#41C0D0 #4178D0 #5141D0
triadic
#4178D0 #D04178 #78D041
tetradic
#4178D0 #D041C0 #D09941 #41D051
square
#4178D0 #D041C0 #D09941 #41D051
split-complementary
#4178D0 #D05141 #C0D041
monochromatic
#1E4179 #2A5BAA #4178D0 #729BDC #A3BEE8

Accessibility & contrast

On white

4.35
#4178D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4178D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178D0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178D0#FFFFFF#000000##000000
##4178D01.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E80D3
Deuteranopia (green-blind)
#3673CE
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4178d0;
/* rgb */ color: rgb(65, 120, 208);
/* oklch */ color: oklch(57.9% 0.148 259.4);
Tailwind
colors: {
  custom: {
    50: '#859edf',
    500: '#4178d0',
    950: '#000000',
  },
}
SCSS
$custom: #4178d0;
$custom-light: #859edf;
$custom-dark: #000000;
JSON
{
  "hex": "#4178d0",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 208
  },
  "hsl": {
    "h": 216.923,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57922,
    "c": 0.14766,
    "h": 259.4
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

primary
#4178D0
secondary
#D5BD98
accent
#A644E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4178D0

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

Preview Lab → · Contrast checker → · Palette generator →

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