#4160AA#4160AA

#4160AA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.123 H 265.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4160AA
RGBrgb(65, 96, 170)
HSLhsl(222, 45%, 46%)
HSVhsv(222, 62%, 67%)
CMYKcmyk(61.8%, 43.5%, 0%, 33.3%)
CIE-LABlab(41.83, 12.35, -43.17)
CIE-LCHlch(41.83, 44.90, 285.97°)
OKLaboklab(50.28% -0.0104 -0.123)
OKLCHoklch(50.28% 0.123 265.2)
XYZxyz(13.6160, 12.3907, 39.6965)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160AA #AA8B41
analogous
#4194AA #4160AA #5641AA
triadic
#4160AA #AA4160 #60AA41
tetradic
#4160AA #AA4194 #AA8B41 #41AA56
square
#4160AA #AA4194 #AA8B41 #41AA56
split-complementary
#4160AA #AA5641 #94AA41
monochromatic
#1F2E51 #30477E #4160AA #6481C4 #91A5D5

Accessibility & contrast

On white

6.04
#4160AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4160AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4160AA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4160AA#FFFFFF#000000##FFFFFF
##4160AA1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#00717C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4160aa;
/* rgb */ color: rgb(65, 96, 170);
/* oklch */ color: oklch(50.3% 0.123 265.2);
Tailwind
colors: {
  custom: {
    50: '#7f8cc4',
    500: '#4160aa',
    950: '#000000',
  },
}
SCSS
$custom: #4160aa;
$custom-light: #7f8cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4160aa",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 170
  },
  "hsl": {
    "h": 222.286,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.12345,
    "h": 265.2
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#4160AA
secondary
#C0AF87
accent
#AE53D4
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4160AA

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

Preview Lab → · Contrast checker → · Palette generator →

#4160AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva