#4165B8#4165B8

#4165B8 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.3% C 0.137 H 264.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4165B8
RGBrgb(65, 101, 184)
HSLhsl(222, 48%, 49%)
HSVhsv(222, 65%, 72%)
CMYKcmyk(64.7%, 45.1%, 0%, 27.8%)
CIE-LABlab(44.08, 14.12, -47.79)
CIE-LCHlch(44.08, 49.83, 286.46°)
OKLaboklab(52.27% -0.0131 -0.1365)
OKLCHoklch(52.27% 0.137 264.5)
XYZxyz(15.4824, 13.8904, 47.2033)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165B8 #B89441
analogous
#41A1B8 #4165B8 #5941B8
triadic
#4165B8 #B84165 #65B841
tetradic
#4165B8 #B841A1 #B89441 #41B859
square
#4165B8 #B841A1 #B89441 #41B859
split-complementary
#4165B8 #B85941 #A1B841
monochromatic
#21335E #314C8B #4165B8 #6B88CB #99ADDB

Accessibility & contrast

On white

5.56
#4165B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4165B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165B8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165B8#FFFFFF#000000##FFFFFF
##4165B81.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBB
Deuteranopia (green-blind)
#2963B6
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4165b8;
/* rgb */ color: rgb(65, 101, 184);
/* oklch */ color: oklch(52.3% 0.137 264.5);
Tailwind
colors: {
  custom: {
    50: '#8190ce',
    500: '#4165b8',
    950: '#000000',
  },
}
SCSS
$custom: #4165b8;
$custom-light: #8190ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4165b8",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 184
  },
  "hsl": {
    "h": 221.849,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52271,
    "c": 0.13715,
    "h": 264.5
  },
  "luminance": 0.13892
}

Semantic roles & 50–950 ramp

primary
#4165B8
secondary
#C7B68E
accent
#AF50D7
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4165B8

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

Preview Lab → · Contrast checker → · Palette generator →

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