#4178D6#4178D6

#4178D6 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.3% C 0.156 H 260.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4178D6
RGBrgb(65, 120, 214)
HSLhsl(218, 65%, 55%)
HSVhsv(218, 70%, 84%)
CMYKcmyk(69.6%, 43.9%, 0%, 16.1%)
CIE-LABlab(51.16, 12.92, -53.67)
CIE-LCHlch(51.16, 55.20, 283.53°)
OKLaboklab(58.3% -0.026 -0.1535)
OKLCHoklch(58.3% 0.156 260.4)
XYZxyz(21.0297, 19.4096, 66.2434)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178D6 #D69F41
analogous
#41C3D6 #4178D6 #5441D6
triadic
#4178D6 #D64178 #78D641
tetradic
#4178D6 #D641C3 #D69F41 #41D654
square
#4178D6 #D641C3 #D69F41 #41D654
split-complementary
#4178D6 #D65441 #C3D641
monochromatic
#1C4181 #275BB3 #4178D6 #739CE1 #A6C0EC

Accessibility & contrast

On white

4.30
#4178D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4178D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178D6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178D6#FFFFFF#000000##000000
##4178D61.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A81DA
Deuteranopia (green-blind)
#2E73D4
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4178d6;
/* rgb */ color: rgb(65, 120, 214);
/* oklch */ color: oklch(58.3% 0.156 260.4);
Tailwind
colors: {
  custom: {
    50: '#869ee3',
    500: '#4178d6',
    950: '#000000',
  },
}
SCSS
$custom: #4178d6;
$custom-light: #869ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4178d6",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 214
  },
  "hsl": {
    "h": 217.852,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58304,
    "c": 0.1557,
    "h": 260.4
  },
  "luminance": 0.19412
}

Semantic roles & 50–950 ramp

primary
#4178D6
secondary
#D9C29A
accent
#AA40E7
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E15
muted
#7D7E84

Preview Lab

Preview with #4178D6

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

Preview Lab → · Contrast checker → · Palette generator →

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