#4178CD#4178CD

#4178CD is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.7% C 0.144 H 258.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4178CD
RGBrgb(65, 120, 205)
HSLhsl(216, 58%, 53%)
HSVhsv(216, 68%, 80%)
CMYKcmyk(68.3%, 41.5%, 0%, 19.6%)
CIE-LABlab(50.64, 9.70, -49.39)
CIE-LCHlch(50.64, 50.33, 281.11°)
OKLaboklab(57.73% -0.0277 -0.1409)
OKLCHoklch(57.73% 0.144 258.9)
XYZxyz(19.9119, 18.9625, 60.3565)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178CD #CD9641
analogous
#41BECD #4178CD #5041CD
triadic
#4178CD #CD4178 #78CD41
tetradic
#4178CD #CD41BE #CD9641 #41CD50
square
#4178CD #CD41BE #CD9641 #41CD50
split-complementary
#4178CD #CD5041 #BECD41
monochromatic
#1F4175 #2C5BA5 #4178CD #719ADA #A2BDE6

Accessibility & contrast

On white

4.38
#4178CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4178CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178CD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178CD#FFFFFF#000000##000000
##4178CD1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D0
Deuteranopia (green-blind)
#3A73CB
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4178cd;
/* rgb */ color: rgb(65, 120, 205);
/* oklch */ color: oklch(57.7% 0.144 258.9);
Tailwind
colors: {
  custom: {
    50: '#859edd',
    500: '#4178cd',
    950: '#000000',
  },
}
SCSS
$custom: #4178cd;
$custom-light: #859edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4178cd",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 216.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57734,
    "c": 0.14364,
    "h": 258.9
  },
  "luminance": 0.18965
}

Semantic roles & 50–950 ramp

primary
#4178CD
secondary
#D3BB97
accent
#A546E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4178CD

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

Preview Lab → · Contrast checker → · Palette generator →

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