#4162BC#4162BC

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

Color values

HEX#4162BC
RGBrgb(65, 98, 188)
HSLhsl(224, 49%, 50%)
HSVhsv(224, 65%, 74%)
CMYKcmyk(65.4%, 47.9%, 0%, 26.3%)
CIE-LABlab(43.49, 17.46, -51.06)
CIE-LCHlch(43.49, 53.96, 288.88°)
OKLaboklab(51.9% -0.0096 -0.1462)
OKLCHoklch(51.9% 0.146 266.3)
XYZxyz(15.6216, 13.4886, 49.3475)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162BC #BC9B41
analogous
#41A0BC #4162BC #5D41BC
triadic
#4162BC #BC4162 #62BC41
tetradic
#4162BC #BC41A0 #BC9B41 #41BC5D
square
#4162BC #BC41A0 #BC9B41 #41BC5D
split-complementary
#4162BC #BC5D41 #A0BC41
monochromatic
#223361 #314A8F #4162BC #6E87CD #9BADDC

Accessibility & contrast

On white

5.68
#4162BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4162BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162BC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162BC#FFFFFF#000000##FFFFFF
##4162BC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DBF
Deuteranopia (green-blind)
#1961BA
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4162bc;
/* rgb */ color: rgb(65, 98, 188);
/* oklch */ color: oklch(51.9% 0.146 266.3);
Tailwind
colors: {
  custom: {
    50: '#828ed1',
    500: '#4162bc',
    950: '#000000',
  },
}
SCSS
$custom: #4162bc;
$custom-light: #828ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4162bc",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 223.902,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.14648,
    "h": 266.3
  },
  "luminance": 0.1349
}

Semantic roles & 50–950 ramp

primary
#4162BC
secondary
#C9B990
accent
#B450D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4162BC

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

Preview Lab → · Contrast checker → · Palette generator →

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