#4177CA#4177CA

#4177CA is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.3% C 0.141 H 258.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4177CA
RGBrgb(65, 119, 202)
HSLhsl(216, 56%, 52%)
HSVhsv(216, 68%, 79%)
CMYKcmyk(67.8%, 41.1%, 0%, 20.8%)
CIE-LABlab(50.19, 9.25, -48.40)
CIE-LCHlch(50.19, 49.28, 280.82°)
OKLaboklab(57.33% -0.0274 -0.138)
OKLCHoklch(57.33% 0.141 258.8)
XYZxyz(19.4336, 18.5798, 58.4277)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4177CA #CA9441
analogous
#41BCCA #4177CA #4F41CA
triadic
#4177CA #CA4177 #77CA41
tetradic
#4177CA #CA41BC #CA9441 #41CA4F
square
#4177CA #CA41BC #CA9441 #41CA4F
split-complementary
#4177CA #CA4F41 #BCCA41
monochromatic
#204071 #2D5BA1 #4177CA #7199D7 #A1BCE5

Accessibility & contrast

On white

4.45
#4177CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4177CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4177CA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4177CA#FFFFFF#000000##000000
##4177CA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#3B72C8
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4177ca;
/* rgb */ color: rgb(65, 119, 202);
/* oklch */ color: oklch(57.3% 0.141 258.8);
Tailwind
colors: {
  custom: {
    50: '#849dda',
    500: '#4177ca',
    950: '#000000',
  },
}
SCSS
$custom: #4177ca;
$custom-light: #849dda;
$custom-dark: #000000;
JSON
{
  "hex": "#4177ca",
  "rgb": {
    "r": 65,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 216.35,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57329,
    "c": 0.14074,
    "h": 258.8
  },
  "luminance": 0.18582
}

Semantic roles & 50–950 ramp

primary
#4177CA
secondary
#D1BA96
accent
#A448E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4177CA

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

Preview Lab → · Contrast checker → · Palette generator →

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