#4151D0#4151D0

#4151D0 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.195 H 271.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4151D0
RGBrgb(65, 81, 208)
HSLhsl(233, 60%, 54%)
HSVhsv(233, 69%, 82%)
CMYKcmyk(68.8%, 61.1%, 0%, 18.4%)
CIE-LABlab(40.51, 35.37, -67.47)
CIE-LCHlch(40.51, 76.17, 297.66°)
OKLaboklab(50.12% 0.0062 -0.1946)
OKLCHoklch(50.12% 0.195 271.8)
XYZxyz(16.5037, 11.5612, 61.0241)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151D0 #D0C041
analogous
#4198D0 #4151D0 #7841D0
triadic
#4151D0 #D04151 #51D041
tetradic
#4151D0 #D04198 #D0C041 #41D078
square
#4151D0 #D04198 #D0C041 #41D078
split-complementary
#4151D0 #D07841 #98D041
monochromatic
#1E2879 #2A38AA #4151D0 #727EDC #A3ABE8

Accessibility & contrast

On white

6.34
#4151D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4151D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151D0
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151D0#FFFFFF#000000##FFFFFF
##4151D01.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4151d0;
/* rgb */ color: rgb(65, 81, 208);
/* oklch */ color: oklch(50.1% 0.195 271.8);
Tailwind
colors: {
  custom: {
    50: '#8781df',
    500: '#4151d0',
    950: '#000000',
  },
}
SCSS
$custom: #4151d0;
$custom-light: #8781df;
$custom-dark: #000000;
JSON
{
  "hex": "#4151d0",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 233.287,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.19473,
    "h": 271.8
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#4151D0
secondary
#D5CE98
accent
#D244E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4151D0

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

Preview Lab → · Contrast checker → · Palette generator →

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