#4162BE#4162BE

#4162BE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.0% C 0.149 H 266.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4162BE
RGBrgb(65, 98, 190)
HSLhsl(224, 49%, 50%)
HSVhsv(224, 66%, 75%)
CMYKcmyk(65.8%, 48.4%, 0%, 25.5%)
CIE-LABlab(43.62, 18.17, -52.01)
CIE-LCHlch(43.62, 55.10, 289.26°)
OKLaboklab(52.04% -0.0093 -0.149)
OKLCHoklch(52.04% 0.149 266.4)
XYZxyz(15.8387, 13.5754, 50.4908)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162BE #BE9D41
analogous
#41A1BE #4162BE #5E41BE
triadic
#4162BE #BE4162 #62BE41
tetradic
#4162BE #BE41A1 #BE9D41 #41BE5E
square
#4162BE #BE41A1 #BE9D41 #41BE5E
split-complementary
#4162BE #BE5E41 #A1BE41
monochromatic
#223363 #314A90 #4162BE #6F88CE #9CADDD

Accessibility & contrast

On white

5.65
#4162BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4162BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162BE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162BE#FFFFFF#000000##FFFFFF
##4162BE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316DC1
Deuteranopia (green-blind)
#1462BC
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4162be;
/* rgb */ color: rgb(65, 98, 190);
/* oklch */ color: oklch(52.0% 0.149 266.4);
Tailwind
colors: {
  custom: {
    50: '#838ed2',
    500: '#4162be',
    950: '#000000',
  },
}
SCSS
$custom: #4162be;
$custom-light: #838ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4162be",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 224.16,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.52041,
    "c": 0.14927,
    "h": 266.4
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#4162BE
secondary
#C9BB91
accent
#B44FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4162BE

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

Preview Lab → · Contrast checker → · Palette generator →

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