#4160BC#4160BC

#4160BC is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.149 H 267.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4160BC
RGBrgb(65, 96, 188)
HSLhsl(225, 49%, 50%)
HSVhsv(225, 65%, 74%)
CMYKcmyk(65.4%, 48.9%, 0%, 26.3%)
CIE-LABlab(42.94, 18.74, -51.94)
CIE-LCHlch(42.94, 55.22, 289.84°)
OKLaboklab(51.49% -0.0076 -0.1488)
OKLCHoklch(51.49% 0.149 267.1)
XYZxyz(15.4368, 13.1190, 49.2859)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160BC #BC9D41
analogous
#419EBC #4160BC #5F41BC
triadic
#4160BC #BC4160 #60BC41
tetradic
#4160BC #BC419E #BC9D41 #41BC5F
square
#4160BC #BC419E #BC9D41 #41BC5F
split-complementary
#4160BC #BC5F41 #9EBC41
monochromatic
#223261 #31498F #4160BC #6E85CD #9BABDC

Accessibility & contrast

On white

5.79
#4160BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4160BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4160BC#FFFFFF#000000##FFFFFF
##4160BC1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBF
Deuteranopia (green-blind)
#1160BA
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4160bc;
/* rgb */ color: rgb(65, 96, 188);
/* oklch */ color: oklch(51.5% 0.149 267.1);
Tailwind
colors: {
  custom: {
    50: '#828cd1',
    500: '#4160bc',
    950: '#000000',
  },
}
SCSS
$custom: #4160bc;
$custom-light: #828cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4160bc",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 188
  },
  "hsl": {
    "h": 224.878,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51485,
    "c": 0.14899,
    "h": 267.1
  },
  "luminance": 0.1312
}

Semantic roles & 50–950 ramp

primary
#4160BC
secondary
#C9BA90
accent
#B650D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4160BC

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

Preview Lab → · Contrast checker → · Palette generator →

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