#4152C2#4152C2

#4152C2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.175 H 271.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4152C2
RGBrgb(65, 82, 194)
HSLhsl(232, 51%, 51%)
HSVhsv(232, 66%, 76%)
CMYKcmyk(66.5%, 57.7%, 0%, 23.9%)
CIE-LABlab(39.67, 29.84, -60.73)
CIE-LCHlch(39.67, 67.66, 296.17°)
OKLaboklab(49.15% 0.0055 -0.1748)
OKLCHoklch(49.15% 0.175 271.8)
XYZxyz(14.9316, 11.0521, 52.3749)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4152C2 #C2B141
analogous
#4192C2 #4152C2 #7041C2
triadic
#4152C2 #C24152 #52C241
tetradic
#4152C2 #C24192 #C2B141 #41C270
square
#4152C2 #C24192 #C2B141 #41C270
split-complementary
#4152C2 #C27041 #92C241
monochromatic
#212A67 #303D96 #4152C2 #6F7CD1 #9EA6E0

Accessibility & contrast

On white

6.54
#4152C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4152C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4152C2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4152C2#FFFFFF#000000##FFFFFF
##4152C21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4152c2;
/* rgb */ color: rgb(65, 82, 194);
/* oklch */ color: oklch(49.2% 0.175 271.8);
Tailwind
colors: {
  custom: {
    50: '#8482d5',
    500: '#4152c2',
    950: '#000000',
  },
}
SCSS
$custom: #4152c2;
$custom-light: #8482d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4152c2",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 232.093,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49151,
    "c": 0.17492,
    "h": 271.8
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#4152C2
secondary
#CCC493
accent
#C84DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4152C2

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

Preview Lab → · Contrast checker → · Palette generator →

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