#4165DC#4165DC

#4165DC is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.186 H 267.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4165DC
RGBrgb(65, 101, 220)
HSLhsl(226, 69%, 56%)
HSVhsv(226, 70%, 86%)
CMYKcmyk(70.5%, 54.1%, 0%, 13.7%)
CIE-LABlab(46.44, 27.00, -64.68)
CIE-LCHlch(46.44, 70.09, 292.65°)
OKLaboklab(54.83% -0.009 -0.1862)
OKLCHoklch(54.83% 0.186 267.2)
XYZxyz(19.7474, 15.5965, 69.6660)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165DC #DCB841
analogous
#41B2DC #4165DC #6B41DC
triadic
#4165DC #DC4165 #65DC41
tetradic
#4165DC #DC41B2 #DCB841 #41DC6B
square
#4165DC #DC41B2 #DCB841 #41DC6B
split-complementary
#4165DC #DC6B41 #B2DC41
monochromatic
#193389 #2347BD #4165DC #758FE6 #A8B9EF

Accessibility & contrast

On white

5.10
#4165DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4165DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165DC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165DC#FFFFFF#000000##FFFFFF
##4165DC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4165dc;
/* rgb */ color: rgb(65, 101, 220);
/* oklch */ color: oklch(54.8% 0.186 267.2);
Tailwind
colors: {
  custom: {
    50: '#8890e8',
    500: '#4165dc',
    950: '#000000',
  },
}
SCSS
$custom: #4165dc;
$custom-light: #8890e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4165dc",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 220
  },
  "hsl": {
    "h": 226.065,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54825,
    "c": 0.18643,
    "h": 267.2
  },
  "luminance": 0.15598
}

Semantic roles & 50–950 ramp

primary
#4165DC
secondary
#DDCE9C
accent
#C33CEC
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4165DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4165DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva