#4160AF#4160AF

#4160AF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.131 H 265.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4160AF
RGBrgb(65, 96, 175)
HSLhsl(223, 46%, 47%)
HSVhsv(223, 63%, 69%)
CMYKcmyk(62.9%, 45.1%, 0%, 31.4%)
CIE-LABlab(42.13, 14.12, -45.64)
CIE-LCHlch(42.13, 47.77, 287.19°)
OKLaboklab(50.6% -0.0095 -0.1303)
OKLCHoklch(50.6% 0.131 265.8)
XYZxyz(14.0980, 12.5835, 42.2350)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160AF #AF9041
analogous
#4197AF #4160AF #5941AF
triadic
#4160AF #AF4160 #60AF41
tetradic
#4160AF #AF4197 #AF9041 #41AF59
square
#4160AF #AF4197 #AF9041 #41AF59
split-complementary
#4160AF #AF5941 #97AF41
monochromatic
#202F56 #304882 #4160AF #6782C6 #93A6D7

Accessibility & contrast

On white

5.97
#4160AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4160AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4160AF#FFFFFF#000000##FFFFFF
##4160AF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#295FAD
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4160af;
/* rgb */ color: rgb(65, 96, 175);
/* oklch */ color: oklch(50.6% 0.131 265.8);
Tailwind
colors: {
  custom: {
    50: '#808cc7',
    500: '#4160af',
    950: '#000000',
  },
}
SCSS
$custom: #4160af;
$custom-light: #808cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4160af",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 175
  },
  "hsl": {
    "h": 223.091,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50602,
    "c": 0.13061,
    "h": 265.8
  },
  "luminance": 0.12585
}

Semantic roles & 50–950 ramp

primary
#4160AF
secondary
#C2B289
accent
#B152D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4160AF

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

Preview Lab → · Contrast checker → · Palette generator →

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