#4177DB#4177DB

#4177DB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.4% C 0.164 H 261.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4177DB
RGBrgb(65, 119, 219)
HSLhsl(219, 68%, 56%)
HSVhsv(219, 70%, 86%)
CMYKcmyk(70.3%, 45.7%, 0%, 14.1%)
CIE-LABlab(51.19, 15.33, -56.46)
CIE-LCHlch(51.19, 58.51, 285.19°)
OKLaboklab(58.42% -0.0242 -0.1617)
OKLCHoklch(58.42% 0.164 261.5)
XYZxyz(21.5584, 19.4297, 69.6182)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4177DB #DBA541
analogous
#41C4DB #4177DB #5841DB
triadic
#4177DB #DB4177 #77DB41
tetradic
#4177DB #DB41C4 #DBA541 #41DB58
square
#4177DB #DB41C4 #DBA541 #41DB58
split-complementary
#4177DB #DB5841 #C4DB41
monochromatic
#1A4088 #2359BB #4177DB #749CE5 #A8C1EE

Accessibility & contrast

On white

4.30
#4177DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4177DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4177DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4177DB#FFFFFF#000000##000000
##4177DB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#2373D9
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4177db;
/* rgb */ color: rgb(65, 119, 219);
/* oklch */ color: oklch(58.4% 0.164 261.5);
Tailwind
colors: {
  custom: {
    50: '#879de7',
    500: '#4177db',
    950: '#000000',
  },
}
SCSS
$custom: #4177db;
$custom-light: #879de7;
$custom-dark: #000000;
JSON
{
  "hex": "#4177db",
  "rgb": {
    "r": 65,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 218.961,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58418,
    "c": 0.16355,
    "h": 261.5
  },
  "luminance": 0.19432
}

Semantic roles & 50–950 ramp

primary
#4177DB
secondary
#DCC59C
accent
#AE3DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4177DB

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

Preview Lab → · Contrast checker → · Palette generator →

#4177DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva