#4151FF#4151FF

#4151FF is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.3% C 0.253 H 270.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4151FF
RGBrgb(65, 81, 255)
HSLhsl(235, 100%, 63%)
HSVhsv(235, 75%, 100%)
CMYKcmyk(74.5%, 68.2%, 0%, 0%)
CIE-LABlab(44.56, 51.31, -87.45)
CIE-LCHlch(44.56, 101.39, 300.40°)
OKLaboklab(54.31% 0.0029 -0.2531)
OKLCHoklch(54.31% 0.253 270.7)
XYZxyz(23.1663, 14.2262, 96.1134)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151FF #FFEF41
analogous
#41B0FF #4151FF #9041FF
triadic
#4151FF #FF4151 #51FF41
tetradic
#4151FF #FF41B0 #FFEF41 #41FF90
square
#4151FF #FF41B0 #FFEF41 #41FF90
split-complementary
#4151FF #FF9041 #B0FF41
monochromatic
#0011C6 #0419FF #4151FF #7E89FF #BBC1FF

Accessibility & contrast

On white

5.46
#4151FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4151FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151FF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151FF#FFFFFF#000000##FFFFFF
##4151FF1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0060FC
Tritanopia (blue-blind)
#0081A2
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4151ff;
/* rgb */ color: rgb(65, 81, 255);
/* oklch */ color: oklch(54.3% 0.253 270.7);
Tailwind
colors: {
  custom: {
    50: '#9182ff',
    500: '#4151ff',
    950: '#000000',
  },
}
SCSS
$custom: #4151ff;
$custom-light: #9182ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4151ff",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 234.947,
    "s": 100,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.25313,
    "h": 270.7
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#4151FF
secondary
#F0EAAC
accent
#D200E6
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #4151FF

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

Preview Lab → · Contrast checker → · Palette generator →

#4151FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva