#4152C0#4152C0

#4152C0 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.172 H 271.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4152C0
RGBrgb(65, 82, 192)
HSLhsl(232, 50%, 50%)
HSVhsv(232, 66%, 75%)
CMYKcmyk(66.1%, 57.3%, 0%, 24.7%)
CIE-LABlab(39.52, 29.14, -59.80)
CIE-LCHlch(39.52, 66.53, 295.98°)
OKLaboklab(48.99% 0.0055 -0.1721)
OKLCHoklch(48.99% 0.172 271.8)
XYZxyz(14.7085, 10.9628, 51.1999)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4152C0 #C0AF41
analogous
#4191C0 #4152C0 #7041C0
triadic
#4152C0 #C04152 #52C041
tetradic
#4152C0 #C04191 #C0AF41 #41C070
square
#4152C0 #C04191 #C0AF41 #41C070
split-complementary
#4152C0 #C07041 #91C041
monochromatic
#222B65 #313E93 #4152C0 #6F7CCF #9DA6DE

Accessibility & contrast

On white

6.58
#4152C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4152C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4152C0
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4152C0#FFFFFF#000000##FFFFFF
##4152C01.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4152c0;
/* rgb */ color: rgb(65, 82, 192);
/* oklch */ color: oklch(49.0% 0.172 271.8);
Tailwind
colors: {
  custom: {
    50: '#8482d4',
    500: '#4152c0',
    950: '#000000',
  },
}
SCSS
$custom: #4152c0;
$custom-light: #8482d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4152c0",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 231.969,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48992,
    "c": 0.17221,
    "h": 271.8
  },
  "luminance": 0.10964
}

Semantic roles & 50–950 ramp

primary
#4152C0
secondary
#CBC392
accent
#C74EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4152C0

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

Preview Lab → · Contrast checker → · Palette generator →

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