#4173CA#4173CA

#4173CA is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.145 H 260.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4173CA
RGBrgb(65, 115, 202)
HSLhsl(218, 56%, 52%)
HSVhsv(218, 68%, 79%)
CMYKcmyk(67.8%, 43.1%, 0%, 20.8%)
CIE-LABlab(49.07, 11.73, -50.20)
CIE-LCHlch(49.07, 51.55, 283.15°)
OKLaboklab(56.46% -0.0236 -0.1434)
OKLCHoklch(56.46% 0.145 260.7)
XYZxyz(18.9676, 17.6476, 58.2724)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173CA #CA9841
analogous
#41B8CA #4173CA #5341CA
triadic
#4173CA #CA4173 #73CA41
tetradic
#4173CA #CA41B8 #CA9841 #41CA53
square
#4173CA #CA41B8 #CA9841 #41CA53
split-complementary
#4173CA #CA5341 #B8CA41
monochromatic
#203D71 #2D57A1 #4173CA #7196D7 #A1BAE5

Accessibility & contrast

On white

4.64
#4173CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4173CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4173CA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173CA#FFFFFF#000000##FFFFFF
##4173CA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497BCD
Deuteranopia (green-blind)
#326FC8
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4173ca;
/* rgb */ color: rgb(65, 115, 202);
/* oklch */ color: oklch(56.5% 0.145 260.7);
Tailwind
colors: {
  custom: {
    50: '#849ada',
    500: '#4173ca',
    950: '#000000',
  },
}
SCSS
$custom: #4173ca;
$custom-light: #849ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4173ca",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 218.102,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.1453,
    "h": 260.7
  },
  "luminance": 0.1765
}

Semantic roles & 50–950 ramp

primary
#4173CA
secondary
#D1BB96
accent
#A848E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4173CA

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

Preview Lab → · Contrast checker → · Palette generator →

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