#4161BF#4161BF

#4161BF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.152 H 266.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4161BF
RGBrgb(65, 97, 191)
HSLhsl(225, 50%, 50%)
HSVhsv(225, 66%, 75%)
CMYKcmyk(66%, 49.2%, 0%, 25.1%)
CIE-LABlab(43.41, 19.17, -52.93)
CIE-LCHlch(43.41, 56.30, 289.91°)
OKLaboklab(51.9% -0.0082 -0.1517)
OKLCHoklch(51.9% 0.152 266.9)
XYZxyz(15.8554, 13.4333, 51.0374)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161BF #BF9F41
analogous
#41A0BF #4161BF #6041BF
triadic
#4161BF #BF4161 #61BF41
tetradic
#4161BF #BF41A0 #BF9F41 #41BF60
square
#4161BF #BF41A0 #BF9F41 #41BF60
split-complementary
#4161BF #BF6041 #A0BF41
monochromatic
#223264 #314A92 #4161BF #6F87CE #9DADDE

Accessibility & contrast

On white

5.70
#4161BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4161BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161BF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161BF#FFFFFF#000000##FFFFFF
##4161BF1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6DC2
Deuteranopia (green-blind)
#0C61BD
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4161bf;
/* rgb */ color: rgb(65, 97, 191);
/* oklch */ color: oklch(51.9% 0.152 266.9);
Tailwind
colors: {
  custom: {
    50: '#838dd3',
    500: '#4161bf',
    950: '#000000',
  },
}
SCSS
$custom: #4161bf;
$custom-light: #838dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4161bf",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 191
  },
  "hsl": {
    "h": 224.762,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.15191,
    "h": 266.9
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#4161BF
secondary
#CABC92
accent
#B64FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4161BF

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

Preview Lab → · Contrast checker → · Palette generator →

#4161BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva