#4162CF#4162CF

#4162CF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.173 H 267.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4162CF
RGBrgb(65, 98, 207)
HSLhsl(226, 60%, 53%)
HSVhsv(226, 69%, 81%)
CMYKcmyk(68.6%, 52.7%, 0%, 18.8%)
CIE-LABlab(44.75, 24.25, -60.00)
CIE-LCHlch(44.75, 64.72, 292.01°)
OKLaboklab(53.26% -0.0075 -0.1725)
OKLCHoklch(53.26% 0.173 267.5)
XYZxyz(17.8062, 14.3624, 60.8532)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162CF #CFAE41
analogous
#41A9CF #4162CF #6741CF
triadic
#4162CF #CF4162 #62CF41
tetradic
#4162CF #CF41A9 #CFAE41 #41CF67
square
#4162CF #CF41A9 #CFAE41 #41CF67
split-complementary
#4162CF #CF6741 #A9CF41
monochromatic
#1E3377 #2B48A8 #4162CF #728ADB #A3B3E8

Accessibility & contrast

On white

5.42
#4162CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4162CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162CF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162CF#FFFFFF#000000##FFFFFF
##4162CF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1771D3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4162cf;
/* rgb */ color: rgb(65, 98, 207);
/* oklch */ color: oklch(53.3% 0.173 267.5);
Tailwind
colors: {
  custom: {
    50: '#868ede',
    500: '#4162cf',
    950: '#000000',
  },
}
SCSS
$custom: #4162cf;
$custom-light: #868ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4162cf",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 226.056,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53261,
    "c": 0.17265,
    "h": 267.5
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#4162CF
secondary
#D4C697
accent
#BE45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4162CF

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

Preview Lab → · Contrast checker → · Palette generator →

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