#4152AA#4152AA

#4152AA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.142 H 271.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4152AA
RGBrgb(65, 82, 170)
HSLhsl(230, 45%, 46%)
HSVhsv(230, 62%, 67%)
CMYKcmyk(61.8%, 51.8%, 0%, 33.3%)
CIE-LABlab(37.95, 21.39, -49.39)
CIE-LCHlch(37.95, 53.83, 293.42°)
OKLaboklab(47.32% 0.0043 -0.1415)
OKLCHoklch(47.32% 0.142 271.7)
XYZxyz(12.4505, 10.0597, 39.3080)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4152AA #AA9941
analogous
#4186AA #4152AA #6441AA
triadic
#4152AA #AA4152 #52AA41
tetradic
#4152AA #AA4186 #AA9941 #41AA64
square
#4152AA #AA4186 #AA9941 #41AA64
split-complementary
#4152AA #AA6441 #86AA41
monochromatic
#1F2751 #303D7E #4152AA #6474C4 #919CD5

Accessibility & contrast

On white

6.97
#4152AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4152AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4152AA#FFFFFF#000000##FFFFFF
##4152AA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#0155A8
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4152aa;
/* rgb */ color: rgb(65, 82, 170);
/* oklch */ color: oklch(47.3% 0.142 271.7);
Tailwind
colors: {
  custom: {
    50: '#8082c4',
    500: '#4152aa',
    950: '#000000',
  },
}
SCSS
$custom: #4152aa;
$custom-light: #8082c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4152aa",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 230.286,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47317,
    "c": 0.14155,
    "h": 271.7
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#4152AA
secondary
#C0B787
accent
#C053D4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4152AA

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

Preview Lab → · Contrast checker → · Palette generator →

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