#4178C9#4178C9

#4178C9 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.5% C 0.138 H 258.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4178C9
RGBrgb(65, 120, 201)
HSLhsl(216, 56%, 52%)
HSVhsv(216, 68%, 79%)
CMYKcmyk(67.7%, 40.3%, 0%, 21.2%)
CIE-LABlab(50.42, 8.28, -47.47)
CIE-LCHlch(50.42, 48.18, 279.89°)
OKLaboklab(57.49% -0.0286 -0.1353)
OKLCHoklch(57.49% 0.138 258.1)
XYZxyz(19.4353, 18.7718, 57.8461)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178C9 #C99241
analogous
#41BCC9 #4178C9 #4E41C9
triadic
#4178C9 #C94178 #78C941
tetradic
#4178C9 #C941BC #C99241 #41C94E
square
#4178C9 #C941BC #C99241 #41C94E
split-complementary
#4178C9 #C94E41 #BCC941
monochromatic
#204070 #2D5B9F #4178C9 #719AD7 #A0BCE4

Accessibility & contrast

On white

4.42
#4178C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4178C9#FFFFFF#000000##000000
##4178C91.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCC
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4178c9;
/* rgb */ color: rgb(65, 120, 201);
/* oklch */ color: oklch(57.5% 0.138 258.1);
Tailwind
colors: {
  custom: {
    50: '#849eda',
    500: '#4178c9',
    950: '#000000',
  },
}
SCSS
$custom: #4178c9;
$custom-light: #849eda;
$custom-dark: #000000;
JSON
{
  "hex": "#4178c9",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 201
  },
  "hsl": {
    "h": 215.735,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.13828,
    "h": 258.1
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#4178C9
secondary
#D1B995
accent
#A249DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4178C9

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

Preview Lab → · Contrast checker → · Palette generator →

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