#4178DE#4178DE

#4178DE is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.166 H 261.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4178DE
RGBrgb(65, 120, 222)
HSLhsl(219, 70%, 56%)
HSVhsv(219, 71%, 87%)
CMYKcmyk(70.7%, 45.9%, 0%, 12.9%)
CIE-LABlab(51.64, 15.79, -57.42)
CIE-LCHlch(51.64, 59.55, 285.37°)
OKLaboklab(58.83% -0.0246 -0.1645)
OKLCHoklch(58.83% 0.166 261.5)
XYZxyz(22.0765, 19.8283, 71.7569)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178DE #DEA741
analogous
#41C7DE #4178DE #5941DE
triadic
#4178DE #DE4178 #78DE41
tetradic
#4178DE #DE41C7 #DEA741 #41DE59
square
#4178DE #DE41C7 #DEA741 #41DE59
split-complementary
#4178DE #DE5941 #C7DE41
monochromatic
#18418C #2159C0 #4178DE #759DE7 #A9C2F0

Accessibility & contrast

On white

4.23
#4178DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4178DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178DE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178DE#FFFFFF#000000##000000
##4178DE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E2
Deuteranopia (green-blind)
#2074DC
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4178de;
/* rgb */ color: rgb(65, 120, 222);
/* oklch */ color: oklch(58.8% 0.166 261.5);
Tailwind
colors: {
  custom: {
    50: '#889ee9',
    500: '#4178de',
    950: '#000000',
  },
}
SCSS
$custom: #4178de;
$custom-light: #889ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#4178de",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 218.981,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58828,
    "c": 0.16637,
    "h": 261.5
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#4178DE
secondary
#DEC79D
accent
#AF3BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4178DE

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

Preview Lab → · Contrast checker → · Palette generator →

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