#4165BE#4165BE

#4165BE is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.7% C 0.146 H 265.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4165BE
RGBrgb(65, 101, 190)
HSLhsl(223, 49%, 50%)
HSVhsv(223, 66%, 75%)
CMYKcmyk(65.8%, 46.8%, 0%, 25.5%)
CIE-LABlab(44.44, 16.26, -50.69)
CIE-LCHlch(44.44, 53.23, 287.79°)
OKLaboklab(52.67% -0.0122 -0.145)
OKLCHoklch(52.67% 0.146 265.2)
XYZxyz(16.1247, 14.1474, 50.5862)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165BE #BE9A41
analogous
#41A4BE #4165BE #5B41BE
triadic
#4165BE #BE4165 #65BE41
tetradic
#4165BE #BE41A4 #BE9A41 #41BE5B
square
#4165BE #BE41A4 #BE9A41 #41BE5B
split-complementary
#4165BE #BE5B41 #A4BE41
monochromatic
#223563 #314D90 #4165BE #6F8ACE #9CAFDD

Accessibility & contrast

On white

5.48
#4165BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4165BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165BE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165BE#FFFFFF#000000##FFFFFF
##4165BE1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC1
Deuteranopia (green-blind)
#1F64BC
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4165be;
/* rgb */ color: rgb(65, 101, 190);
/* oklch */ color: oklch(52.7% 0.146 265.2);
Tailwind
colors: {
  custom: {
    50: '#8390d2',
    500: '#4165be',
    950: '#000000',
  },
}
SCSS
$custom: #4165be;
$custom-light: #8390d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4165be",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 190
  },
  "hsl": {
    "h": 222.72,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.14555,
    "h": 265.2
  },
  "luminance": 0.14149
}

Semantic roles & 50–950 ramp

primary
#4165BE
secondary
#C9B991
accent
#B14FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4165BE

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

Preview Lab → · Contrast checker → · Palette generator →

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