#4150D0#4150D0

#4150D0 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.196 H 272.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4150D0
RGBrgb(65, 80, 208)
HSLhsl(234, 60%, 54%)
HSVhsv(234, 69%, 82%)
CMYKcmyk(68.8%, 61.5%, 0%, 18.4%)
CIE-LABlab(40.27, 35.99, -67.86)
CIE-LCHlch(40.27, 76.81, 297.94°)
OKLaboklab(49.94% 0.007 -0.1958)
OKLCHoklch(49.94% 0.196 272)
XYZxyz(16.4300, 11.4136, 60.9995)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150D0 #D0C141
analogous
#4197D0 #4150D0 #7941D0
triadic
#4150D0 #D04150 #50D041
tetradic
#4150D0 #D04197 #D0C141 #41D079
square
#4150D0 #D04197 #D0C141 #41D079
split-complementary
#4150D0 #D07941 #97D041
monochromatic
#1E2779 #2A37AA #4150D0 #727DDC #A3AAE8

Accessibility & contrast

On white

6.40
#4150D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4150D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150D0
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150D0#FFFFFF#000000##FFFFFF
##4150D01.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4150d0;
/* rgb */ color: rgb(65, 80, 208);
/* oklch */ color: oklch(49.9% 0.196 272.0);
Tailwind
colors: {
  custom: {
    50: '#8781df',
    500: '#4150d0',
    950: '#000000',
  },
}
SCSS
$custom: #4150d0;
$custom-light: #8781df;
$custom-dark: #000000;
JSON
{
  "hex": "#4150d0",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 208
  },
  "hsl": {
    "h": 233.706,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49938,
    "c": 0.19592,
    "h": 272
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#4150D0
secondary
#D5CF98
accent
#D344E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4150D0

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

Preview Lab → · Contrast checker → · Palette generator →

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