#4162BD#4162BD

#4162BD is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.0% C 0.148 H 266.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4162BD
RGBrgb(65, 98, 189)
HSLhsl(224, 49%, 50%)
HSVhsv(224, 66%, 74%)
CMYKcmyk(65.6%, 48.1%, 0%, 25.9%)
CIE-LABlab(43.55, 17.82, -51.54)
CIE-LCHlch(43.55, 54.53, 289.07°)
OKLaboklab(51.97% -0.0094 -0.1476)
OKLCHoklch(51.97% 0.148 266.3)
XYZxyz(15.7298, 13.5318, 49.9172)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162BD #BD9C41
analogous
#41A0BD #4162BD #5E41BD
triadic
#4162BD #BD4162 #62BD41
tetradic
#4162BD #BD41A0 #BD9C41 #41BD5E
square
#4162BD #BD41A0 #BD9C41 #41BD5E
split-complementary
#4162BD #BD5E41 #A0BD41
monochromatic
#223362 #314A8F #4162BD #6E87CD #9CADDD

Accessibility & contrast

On white

5.67
#4162BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4162BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162BD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162BD#FFFFFF#000000##FFFFFF
##4162BD1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326DC0
Deuteranopia (green-blind)
#1762BB
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4162bd;
/* rgb */ color: rgb(65, 98, 189);
/* oklch */ color: oklch(52.0% 0.148 266.3);
Tailwind
colors: {
  custom: {
    50: '#828ed1',
    500: '#4162bd',
    950: '#000000',
  },
}
SCSS
$custom: #4162bd;
$custom-light: #828ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4162bd",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 224.032,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.14788,
    "h": 266.3
  },
  "luminance": 0.13533
}

Semantic roles & 50–950 ramp

primary
#4162BD
secondary
#C9BA91
accent
#B44FD8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4162BD

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

Preview Lab → · Contrast checker → · Palette generator →

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