#4165D2#4165D2

#4165D2 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.1% C 0.173 H 266.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4165D2
RGBrgb(65, 101, 210)
HSLhsl(225, 62%, 54%)
HSVhsv(225, 69%, 82%)
CMYKcmyk(69%, 51.9%, 0%, 17.6%)
CIE-LABlab(45.75, 23.42, -60.11)
CIE-LCHlch(45.75, 64.51, 291.29°)
OKLaboklab(54.08% -0.0098 -0.1727)
OKLCHoklch(54.08% 0.173 266.8)
XYZxyz(18.4625, 15.0825, 62.8985)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165D2 #D2AE41
analogous
#41AED2 #4165D2 #6641D2
triadic
#4165D2 #D24165 #65D241
tetradic
#4165D2 #D241AE #D2AE41 #41D266
square
#4165D2 #D241AE #D2AE41 #41D266
split-complementary
#4165D2 #D26641 #AED241
monochromatic
#1D357B #294AAD #4165D2 #728DDE #A4B5E9

Accessibility & contrast

On white

5.23
#4165D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4165D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165D2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165D2#FFFFFF#000000##FFFFFF
##4165D21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E73D6
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4165d2;
/* rgb */ color: rgb(65, 101, 210);
/* oklch */ color: oklch(54.1% 0.173 266.8);
Tailwind
colors: {
  custom: {
    50: '#8690e0',
    500: '#4165d2',
    950: '#000000',
  },
}
SCSS
$custom: #4165d2;
$custom-light: #8690e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4165d2",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 210
  },
  "hsl": {
    "h": 225.103,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54081,
    "c": 0.17303,
    "h": 266.8
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#4165D2
secondary
#D6C798
accent
#BD43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4165D2

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

Preview Lab → · Contrast checker → · Palette generator →

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