#4052C3#4052C3

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

Color values

HEX#4052C3
RGBrgb(64, 82, 195)
HSLhsl(232, 52%, 51%)
HSVhsv(232, 67%, 76%)
CMYKcmyk(67.2%, 57.9%, 0%, 23.5%)
CIE-LABlab(39.69, 30.04, -61.28)
CIE-LCHlch(39.69, 68.25, 296.12°)
OKLaboklab(49.17% 0.0045 -0.1765)
OKLCHoklch(49.17% 0.177 271.5)
XYZxyz(14.9786, 11.0633, 52.9652)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4052C3 #C3B140
analogous
#4093C3 #4052C3 #6F40C3
triadic
#4052C3 #C34052 #52C340
tetradic
#4052C3 #C34093 #C3B140 #40C36F
square
#4052C3 #C34093 #C3B140 #40C36F
split-complementary
#4052C3 #C36F40 #93C340
monochromatic
#212A68 #2F3D97 #4052C3 #6F7CD2 #9DA6E0

Accessibility & contrast

On white

6.54
#4052C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4052C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4052C3
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4052C3#FFFFFF#000000##FFFFFF
##4052C31.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)
#0064C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4052c3;
/* rgb */ color: rgb(64, 82, 195);
/* oklch */ color: oklch(49.2% 0.177 271.5);
Tailwind
colors: {
  custom: {
    50: '#8482d6',
    500: '#4052c3',
    950: '#000000',
  },
}
SCSS
$custom: #4052c3;
$custom-light: #8482d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4052c3",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 231.756,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49174,
    "c": 0.17654,
    "h": 271.5
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#4052C3
secondary
#CCC492
accent
#C84CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4052C3

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

Preview Lab → · Contrast checker → · Palette generator →

#4052C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva