#4162CC#4162CC

#4162CC is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.0% C 0.169 H 267.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4162CC
RGBrgb(65, 98, 204)
HSLhsl(226, 58%, 53%)
HSVhsv(226, 68%, 80%)
CMYKcmyk(68.1%, 52%, 0%, 20%)
CIE-LABlab(44.54, 23.18, -58.61)
CIE-LCHlch(44.54, 63.03, 291.58°)
OKLaboklab(53.04% -0.0077 -0.1684)
OKLCHoklch(53.04% 0.169 267.4)
XYZxyz(17.4430, 14.2171, 58.9400)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162CC #CCAB41
analogous
#41A8CC #4162CC #6541CC
triadic
#4162CC #CC4162 #62CC41
tetradic
#4162CC #CC41A8 #CCAB41 #41CC65
square
#4162CC #CC41A8 #CCAB41 #41CC65
split-complementary
#4162CC #CC6541 #A8CC41
monochromatic
#1F3374 #2C48A4 #4162CC #718AD9 #A1B2E6

Accessibility & contrast

On white

5.46
#4162CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4162CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162CC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162CC#FFFFFF#000000##FFFFFF
##4162CC1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E70D0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4162cc;
/* rgb */ color: rgb(65, 98, 204);
/* oklch */ color: oklch(53.0% 0.169 267.4);
Tailwind
colors: {
  custom: {
    50: '#858edc',
    500: '#4162cc',
    950: '#000000',
  },
}
SCSS
$custom: #4162cc;
$custom-light: #858edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4162cc",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 225.755,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5304,
    "c": 0.16858,
    "h": 267.4
  },
  "luminance": 0.14219
}

Semantic roles & 50–950 ramp

primary
#4162CC
secondary
#D3C496
accent
#BC47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4162CC

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

Preview Lab → · Contrast checker → · Palette generator →

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