#4152D0#4152D0

#4152D0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.194 H 271.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4152D0
RGBrgb(65, 82, 208)
HSLhsl(233, 60%, 54%)
HSVhsv(233, 69%, 82%)
CMYKcmyk(68.8%, 60.6%, 0%, 18.4%)
CIE-LABlab(40.75, 34.74, -67.07)
CIE-LCHlch(40.75, 75.53, 297.38°)
OKLaboklab(50.3% 0.0055 -0.1935)
OKLCHoklch(50.3% 0.194 271.6)
XYZxyz(16.5786, 11.7109, 61.0490)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4152D0 #D0BF41
analogous
#4199D0 #4152D0 #7741D0
triadic
#4152D0 #D04152 #52D041
tetradic
#4152D0 #D04199 #D0BF41 #41D077
square
#4152D0 #D04199 #D0BF41 #41D077
split-complementary
#4152D0 #D07741 #99D041
monochromatic
#1E2979 #2A39AA #4152D0 #727FDC #A3ABE8

Accessibility & contrast

On white

6.28
#4152D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4152D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4152D0
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4152D0#FFFFFF#000000##FFFFFF
##4152D01.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#005ACE
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4152d0;
/* rgb */ color: rgb(65, 82, 208);
/* oklch */ color: oklch(50.3% 0.194 271.6);
Tailwind
colors: {
  custom: {
    50: '#8782df',
    500: '#4152d0',
    950: '#000000',
  },
}
SCSS
$custom: #4152d0;
$custom-light: #8782df;
$custom-dark: #000000;
JSON
{
  "hex": "#4152d0",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 208
  },
  "hsl": {
    "h": 232.867,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50296,
    "c": 0.19354,
    "h": 271.6
  },
  "luminance": 0.11712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4152D0

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

Preview Lab → · Contrast checker → · Palette generator →

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