#4162C8#4162C8

#4162C8 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.163 H 267.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4162C8
RGBrgb(65, 98, 200)
HSLhsl(225, 55%, 52%)
HSVhsv(225, 68%, 78%)
CMYKcmyk(67.5%, 51%, 0%, 21.6%)
CIE-LABlab(44.27, 21.75, -56.75)
CIE-LCHlch(44.27, 60.77, 290.97°)
OKLaboklab(52.75% -0.0081 -0.1629)
OKLCHoklch(52.75% 0.163 267.1)
XYZxyz(16.9694, 14.0277, 56.4457)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162C8 #C8A741
analogous
#41A6C8 #4162C8 #6341C8
triadic
#4162C8 #C84162 #62C841
tetradic
#4162C8 #C841A6 #C8A741 #41C863
square
#4162C8 #C841A6 #C8A741 #41C863
split-complementary
#4162C8 #C86341 #A6C841
monochromatic
#20336F #2E499E #4162C8 #7089D6 #A0B0E3

Accessibility & contrast

On white

5.52
#4162C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4162C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162C8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162C8#FFFFFF#000000##FFFFFF
##4162C81.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4162c8;
/* rgb */ color: rgb(65, 98, 200);
/* oklch */ color: oklch(52.7% 0.163 267.1);
Tailwind
colors: {
  custom: {
    50: '#858ed9',
    500: '#4162c8',
    950: '#000000',
  },
}
SCSS
$custom: #4162c8;
$custom-light: #858ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4162c8",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 225.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.16311,
    "h": 267.1
  },
  "luminance": 0.14029
}

Semantic roles & 50–950 ramp

primary
#4162C8
secondary
#D0C295
accent
#BA49DE
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4162C8

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

Preview Lab → · Contrast checker → · Palette generator →

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