#4154D2#4154D2

#4154D2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.194 H 271.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4154D2
RGBrgb(65, 84, 210)
HSLhsl(232, 62%, 54%)
HSVhsv(232, 69%, 82%)
CMYKcmyk(69%, 60%, 0%, 17.6%)
CIE-LABlab(41.40, 34.18, -67.16)
CIE-LCHlch(41.40, 75.36, 296.97°)
OKLaboklab(50.82% 0.0039 -0.1937)
OKLCHoklch(50.82% 0.194 271.2)
XYZxyz(16.9792, 12.1160, 62.4041)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154D2 #D2BF41
analogous
#419DD2 #4154D2 #7741D2
triadic
#4154D2 #D24154 #54D241
tetradic
#4154D2 #D2419D #D2BF41 #41D277
square
#4154D2 #D2419D #D2BF41 #41D277
split-complementary
#4154D2 #D27741 #9DD241
monochromatic
#1D2A7B #293AAD #4154D2 #7281DE #A4ADE9

Accessibility & contrast

On white

6.13
#4154D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4154D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154D2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154D2#FFFFFF#000000##FFFFFF
##4154D21.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4154d2;
/* rgb */ color: rgb(65, 84, 210);
/* oklch */ color: oklch(50.8% 0.194 271.2);
Tailwind
colors: {
  custom: {
    50: '#8784e1',
    500: '#4154d2',
    950: '#000000',
  },
}
SCSS
$custom: #4154d2;
$custom-light: #8784e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4154d2",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 232.138,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50824,
    "c": 0.19376,
    "h": 271.2
  },
  "luminance": 0.12118
}

Semantic roles & 50–950 ramp

primary
#4154D2
secondary
#D6CE98
accent
#D043E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4154D2

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

Preview Lab → · Contrast checker → · Palette generator →

#4154D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva