#4163D5#4163D5

#4163D5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.9% C 0.180 H 267.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4163D5
RGBrgb(65, 99, 213)
HSLhsl(226, 64%, 55%)
HSVhsv(226, 69%, 84%)
CMYKcmyk(69.5%, 53.5%, 0%, 16.5%)
CIE-LABlab(45.43, 25.76, -62.34)
CIE-LCHlch(45.43, 67.45, 292.45°)
OKLaboklab(53.91% -0.0079 -0.1793)
OKLCHoklch(53.91% 0.18 267.5)
XYZxyz(18.6479, 14.8497, 64.8214)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4163D5 #D5B341
analogous
#41ADD5 #4163D5 #6941D5
triadic
#4163D5 #D54163 #63D541
tetradic
#4163D5 #D541AD #D5B341 #41D569
square
#4163D5 #D541AD #D5B341 #41D569
split-complementary
#4163D5 #D56941 #ADD541
monochromatic
#1C337F #2747B2 #4163D5 #738CE0 #A5B5EB

Accessibility & contrast

On white

5.29
#4163D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4163D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4163D5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4163D5#FFFFFF#000000##FFFFFF
##4163D51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A73D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4163d5;
/* rgb */ color: rgb(65, 99, 213);
/* oklch */ color: oklch(53.9% 0.180 267.5);
Tailwind
colors: {
  custom: {
    50: '#878ee3',
    500: '#4163d5',
    950: '#000000',
  },
}
SCSS
$custom: #4163d5;
$custom-light: #878ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4163d5",
  "rgb": {
    "r": 65,
    "g": 99,
    "b": 213
  },
  "hsl": {
    "h": 226.216,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.17952,
    "h": 267.5
  },
  "luminance": 0.14852
}

Semantic roles & 50–950 ramp

primary
#4163D5
secondary
#D8CA9A
accent
#C141E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4163D5

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

Preview Lab → · Contrast checker → · Palette generator →

#4163D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva