#4160CB#4160CB

#4160CB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.170 H 267.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4160CB
RGBrgb(65, 96, 203)
HSLhsl(227, 57%, 53%)
HSVhsv(227, 68%, 80%)
CMYKcmyk(68%, 52.7%, 0%, 20.4%)
CIE-LABlab(43.94, 24.10, -59.01)
CIE-LCHlch(43.94, 63.74, 292.21°)
OKLaboklab(52.57% -0.0061 -0.1696)
OKLCHoklch(52.57% 0.17 267.9)
XYZxyz(17.1386, 13.7997, 58.2487)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4160CB #CBAC41
analogous
#41A5CB #4160CB #6741CB
triadic
#4160CB #CB4160 #60CB41
tetradic
#4160CB #CB41A5 #CBAC41 #41CB67
square
#4160CB #CB41A5 #CBAC41 #41CB67
split-complementary
#4160CB #CB6741 #A5CB41
monochromatic
#1F3272 #2C47A2 #4160CB #7188D8 #A1B0E5

Accessibility & contrast

On white

5.58
#4160CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4160CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4160CB#FFFFFF#000000##FFFFFF
##4160CB1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4160cb;
/* rgb */ color: rgb(65, 96, 203);
/* oklch */ color: oklch(52.6% 0.170 267.9);
Tailwind
colors: {
  custom: {
    50: '#858cdc',
    500: '#4160cb',
    950: '#000000',
  },
}
SCSS
$custom: #4160cb;
$custom-light: #858cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4160cb",
  "rgb": {
    "r": 65,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 226.522,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.16969,
    "h": 267.9
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#4160CB
secondary
#D2C496
accent
#BE48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4160CB

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

Preview Lab → · Contrast checker → · Palette generator →

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