#4165BF#4165BF

#4165BF is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.147 H 265.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4165BF
RGBrgb(65, 101, 191)
HSLhsl(223, 50%, 50%)
HSVhsv(223, 66%, 75%)
CMYKcmyk(66%, 47.1%, 0%, 25.1%)
CIE-LABlab(44.51, 16.62, -51.17)
CIE-LCHlch(44.51, 53.80, 287.99°)
OKLaboklab(52.74% -0.012 -0.1464)
OKLCHoklch(52.74% 0.147 265.3)
XYZxyz(16.2344, 14.1912, 51.1637)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165BF #BF9B41
analogous
#41A4BF #4165BF #5C41BF
triadic
#4165BF #BF4165 #65BF41
tetradic
#4165BF #BF41A4 #BF9B41 #41BF5C
square
#4165BF #BF41A4 #BF9B41 #41BF5C
split-complementary
#4165BF #BF5C41 #A4BF41
monochromatic
#223564 #314D92 #4165BF #6F8ACE #9DAFDE

Accessibility & contrast

On white

5.47
#4165BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4165BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165BF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165BF#FFFFFF#000000##FFFFFF
##4165BF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC2
Deuteranopia (green-blind)
#1E64BD
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4165bf;
/* rgb */ color: rgb(65, 101, 191);
/* oklch */ color: oklch(52.7% 0.147 265.3);
Tailwind
colors: {
  custom: {
    50: '#8390d3',
    500: '#4165bf',
    950: '#000000',
  },
}
SCSS
$custom: #4165bf;
$custom-light: #8390d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4165bf",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 191
  },
  "hsl": {
    "h": 222.857,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5274,
    "c": 0.14694,
    "h": 265.3
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#4165BF
secondary
#CABA92
accent
#B24FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4165BF

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

Preview Lab → · Contrast checker → · Palette generator →

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