#4170CA#4170CA

#4170CA is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.8% C 0.149 H 262.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4170CA
RGBrgb(65, 112, 202)
HSLhsl(219, 56%, 52%)
HSVhsv(219, 68%, 79%)
CMYKcmyk(67.8%, 44.6%, 0%, 20.8%)
CIE-LABlab(48.23, 13.60, -51.54)
CIE-LCHlch(48.23, 53.30, 284.79°)
OKLaboklab(55.81% -0.0207 -0.1474)
OKLCHoklch(55.81% 0.149 262)
XYZxyz(18.6310, 16.9746, 58.1602)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4170CA #CA9B41
analogous
#41B5CA #4170CA #5641CA
triadic
#4170CA #CA4170 #70CA41
tetradic
#4170CA #CA41B5 #CA9B41 #41CA56
square
#4170CA #CA41B5 #CA9B41 #41CA56
split-complementary
#4170CA #CA5641 #B5CA41
monochromatic
#203C71 #2D55A1 #4170CA #7194D7 #A1B8E5

Accessibility & contrast

On white

4.78
#4170CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4170CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4170CA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4170CA#FFFFFF#000000##FFFFFF
##4170CA1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4479CD
Deuteranopia (green-blind)
#2B6DC8
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4170ca;
/* rgb */ color: rgb(65, 112, 202);
/* oklch */ color: oklch(55.8% 0.149 262.0);
Tailwind
colors: {
  custom: {
    50: '#8498db',
    500: '#4170ca',
    950: '#000000',
  },
}
SCSS
$custom: #4170ca;
$custom-light: #8498db;
$custom-dark: #000000;
JSON
{
  "hex": "#4170ca",
  "rgb": {
    "r": 65,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 219.416,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55813,
    "c": 0.14882,
    "h": 262
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#4170CA
secondary
#D1BD96
accent
#AC48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4170CA

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

Preview Lab → · Contrast checker → · Palette generator →

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