#4162CA#4162CA

#4162CA is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.9% C 0.166 H 267.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4162CA
RGBrgb(65, 98, 202)
HSLhsl(226, 56%, 52%)
HSVhsv(226, 68%, 79%)
CMYKcmyk(67.8%, 51.5%, 0%, 20.8%)
CIE-LABlab(44.41, 22.46, -57.68)
CIE-LCHlch(44.41, 61.90, 291.28°)
OKLaboklab(52.89% -0.0079 -0.1657)
OKLCHoklch(52.89% 0.166 267.3)
XYZxyz(17.2046, 14.1218, 57.6847)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4162CA #CAA941
analogous
#41A7CA #4162CA #6441CA
triadic
#4162CA #CA4162 #62CA41
tetradic
#4162CA #CA41A7 #CAA941 #41CA64
square
#4162CA #CA41A7 #CAA941 #41CA64
split-complementary
#4162CA #CA6441 #A7CA41
monochromatic
#203371 #2D49A1 #4162CA #718AD7 #A1B1E5

Accessibility & contrast

On white

5.49
#4162CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4162CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4162CA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4162CA#FFFFFF#000000##FFFFFF
##4162CA1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4162ca;
/* rgb */ color: rgb(65, 98, 202);
/* oklch */ color: oklch(52.9% 0.166 267.3);
Tailwind
colors: {
  custom: {
    50: '#858edb',
    500: '#4162ca',
    950: '#000000',
  },
}
SCSS
$custom: #4162ca;
$custom-light: #858edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4162ca",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 225.547,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.16585,
    "h": 267.3
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#4162CA
secondary
#D1C396
accent
#BB48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4162CA

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

Preview Lab → · Contrast checker → · Palette generator →

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