#4178D3#4178D3

#4178D3 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.1% C 0.152 H 259.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4178D3
RGBrgb(65, 120, 211)
HSLhsl(217, 62%, 54%)
HSVhsv(217, 69%, 83%)
CMYKcmyk(69.2%, 43.1%, 0%, 17.3%)
CIE-LABlab(50.99, 11.84, -52.25)
CIE-LCHlch(50.99, 53.58, 282.77°)
OKLaboklab(58.11% -0.0266 -0.1493)
OKLCHoklch(58.11% 0.152 259.9)
XYZxyz(20.6501, 19.2578, 64.2442)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178D3 #D39C41
analogous
#41C1D3 #4178D3 #5341D3
triadic
#4178D3 #D34178 #78D341
tetradic
#4178D3 #D341C1 #D39C41 #41D353
square
#4178D3 #D341C1 #D39C41 #41D353
split-complementary
#4178D3 #D35341 #C1D341
monochromatic
#1D417D #285BAE #4178D3 #739BDF #A4BFEA

Accessibility & contrast

On white

4.33
#4178D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4178D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178D3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178D3#FFFFFF#000000##000000
##4178D31.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C81D7
Deuteranopia (green-blind)
#3373D1
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4178d3;
/* rgb */ color: rgb(65, 120, 211);
/* oklch */ color: oklch(58.1% 0.152 259.9);
Tailwind
colors: {
  custom: {
    50: '#869ee1',
    500: '#4178d3',
    950: '#000000',
  },
}
SCSS
$custom: #4178d3;
$custom-light: #869ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4178d3",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 211
  },
  "hsl": {
    "h": 217.397,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58112,
    "c": 0.15168,
    "h": 259.9
  },
  "luminance": 0.1926
}

Semantic roles & 50–950 ramp

primary
#4178D3
secondary
#D7C099
accent
#A842E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4178D3

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

Preview Lab → · Contrast checker → · Palette generator →

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