#4178D2#4178D2

#4178D2 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.0% C 0.150 H 259.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4178D2
RGBrgb(65, 120, 210)
HSLhsl(217, 62%, 54%)
HSVhsv(217, 69%, 82%)
CMYKcmyk(69%, 42.9%, 0%, 17.6%)
CIE-LABlab(50.93, 11.49, -51.78)
CIE-LCHlch(50.93, 53.04, 282.51°)
OKLaboklab(58.05% -0.0267 -0.1479)
OKLCHoklch(58.05% 0.15 259.8)
XYZxyz(20.5251, 19.2078, 63.5860)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178D2 #D29B41
analogous
#41C1D2 #4178D2 #5341D2
triadic
#4178D2 #D24178 #78D241
tetradic
#4178D2 #D241C1 #D29B41 #41D253
square
#4178D2 #D241C1 #D29B41 #41D253
split-complementary
#4178D2 #D25341 #C1D241
monochromatic
#1D417B #295BAD #4178D2 #729BDE #A4BEE9

Accessibility & contrast

On white

4.34
#4178D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4178D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178D2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178D2#FFFFFF#000000##000000
##4178D21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D80D5
Deuteranopia (green-blind)
#3473D0
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4178d2;
/* rgb */ color: rgb(65, 120, 210);
/* oklch */ color: oklch(58.0% 0.150 259.8);
Tailwind
colors: {
  custom: {
    50: '#869ee0',
    500: '#4178d2',
    950: '#000000',
  },
}
SCSS
$custom: #4178d2;
$custom-light: #869ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4178d2",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 217.241,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58048,
    "c": 0.15035,
    "h": 259.8
  },
  "luminance": 0.1921
}

Semantic roles & 50–950 ramp

primary
#4178D2
secondary
#D6BF98
accent
#A743E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4178D2

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

Preview Lab → · Contrast checker → · Palette generator →

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