#4165BC#4165BC

#4165BC is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.5% C 0.143 H 265.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4165BC
RGBrgb(65, 101, 188)
HSLhsl(222, 49%, 50%)
HSVhsv(222, 65%, 74%)
CMYKcmyk(65.4%, 46.3%, 0%, 26.3%)
CIE-LABlab(44.32, 15.55, -49.73)
CIE-LCHlch(44.32, 52.10, 287.36°)
OKLaboklab(52.54% -0.0125 -0.1422)
OKLCHoklch(52.54% 0.143 265)
XYZxyz(15.9076, 14.0605, 49.4428)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165BC #BC9841
analogous
#41A3BC #4165BC #5A41BC
triadic
#4165BC #BC4165 #65BC41
tetradic
#4165BC #BC41A3 #BC9841 #41BC5A
square
#4165BC #BC41A3 #BC9841 #41BC5A
split-complementary
#4165BC #BC5A41 #A3BC41
monochromatic
#223461 #314D8F #4165BC #6E89CD #9BAEDC

Accessibility & contrast

On white

5.51
#4165BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4165BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165BC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165BC#FFFFFF#000000##FFFFFF
##4165BC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FBF
Deuteranopia (green-blind)
#2364BA
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4165bc;
/* rgb */ color: rgb(65, 101, 188);
/* oklch */ color: oklch(52.5% 0.143 265.0);
Tailwind
colors: {
  custom: {
    50: '#8290d1',
    500: '#4165bc',
    950: '#000000',
  },
}
SCSS
$custom: #4165bc;
$custom-light: #8290d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4165bc",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 188
  },
  "hsl": {
    "h": 222.439,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.14276,
    "h": 265
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#4165BC
secondary
#C9B890
accent
#B050D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4165BC

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

Preview Lab → · Contrast checker → · Palette generator →

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