#4165BD#4165BD

#4165BD is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.6% C 0.144 H 265.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4165BD
RGBrgb(65, 101, 189)
HSLhsl(223, 49%, 50%)
HSVhsv(223, 66%, 74%)
CMYKcmyk(65.6%, 46.6%, 0%, 25.9%)
CIE-LABlab(44.38, 15.90, -50.21)
CIE-LCHlch(44.38, 52.67, 287.58°)
OKLaboklab(52.61% -0.0123 -0.1436)
OKLCHoklch(52.61% 0.144 265.1)
XYZxyz(16.0158, 14.1038, 50.0125)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165BD #BD9941
analogous
#41A3BD #4165BD #5B41BD
triadic
#4165BD #BD4165 #65BD41
tetradic
#4165BD #BD41A3 #BD9941 #41BD5B
square
#4165BD #BD41A3 #BD9941 #41BD5B
split-complementary
#4165BD #BD5B41 #A3BD41
monochromatic
#223462 #314D8F #4165BD #6E8ACD #9CAFDD

Accessibility & contrast

On white

5.50
#4165BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4165BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165BD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165BD#FFFFFF#000000##FFFFFF
##4165BD1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FC0
Deuteranopia (green-blind)
#2164BB
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4165bd;
/* rgb */ color: rgb(65, 101, 189);
/* oklch */ color: oklch(52.6% 0.144 265.1);
Tailwind
colors: {
  custom: {
    50: '#8290d1',
    500: '#4165bd',
    950: '#000000',
  },
}
SCSS
$custom: #4165bd;
$custom-light: #8290d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4165bd",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 189
  },
  "hsl": {
    "h": 222.581,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.14415,
    "h": 265.1
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#4165BD
secondary
#C9B991
accent
#B14FD8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4165BD

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

Preview Lab → · Contrast checker → · Palette generator →

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