#4179CA#4179CA

#4179CA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.8% C 0.139 H 257.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4179CA
RGBrgb(65, 121, 202)
HSLhsl(215, 56%, 52%)
HSVhsv(215, 68%, 79%)
CMYKcmyk(67.8%, 40.1%, 0%, 20.8%)
CIE-LABlab(50.76, 8.02, -47.50)
CIE-LCHlch(50.76, 48.17, 279.58°)
OKLaboklab(57.77% -0.0293 -0.1354)
OKLCHoklch(57.77% 0.139 257.8)
XYZxyz(19.6742, 19.0608, 58.5079)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4179CA #CA9241
analogous
#41BECA #4179CA #4D41CA
triadic
#4179CA #CA4179 #79CA41
tetradic
#4179CA #CA41BE #CA9241 #41CA4D
square
#4179CA #CA41BE #CA9241 #41CA4D
split-complementary
#4179CA #CA4D41 #BECA41
monochromatic
#204171 #2D5CA1 #4179CA #719BD7 #A1BCE5

Accessibility & contrast

On white

4.36
#4179CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4179CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4179CA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4179CA#FFFFFF#000000##000000
##4179CA1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4179ca;
/* rgb */ color: rgb(65, 121, 202);
/* oklch */ color: oklch(57.8% 0.139 257.8);
Tailwind
colors: {
  custom: {
    50: '#849fda',
    500: '#4179ca',
    950: '#000000',
  },
}
SCSS
$custom: #4179ca;
$custom-light: #849fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4179ca",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 215.474,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57769,
    "c": 0.13851,
    "h": 257.8
  },
  "luminance": 0.19063
}

Semantic roles & 50–950 ramp

primary
#4179CA
secondary
#D1B996
accent
#A248E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4179CA

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

Preview Lab → · Contrast checker → · Palette generator →

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