#4154D4#4154D4

#4154D4 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.196 H 271.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4154D4
RGBrgb(65, 84, 212)
HSLhsl(232, 63%, 54%)
HSVhsv(232, 69%, 83%)
CMYKcmyk(69.3%, 60.4%, 0%, 16.9%)
CIE-LABlab(41.56, 34.88, -68.06)
CIE-LCHlch(41.56, 76.48, 297.14°)
OKLaboklab(50.99% 0.0039 -0.1963)
OKLCHoklch(50.99% 0.196 271.1)
XYZxyz(17.2299, 12.2162, 63.7245)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154D4 #D4C141
analogous
#419ED4 #4154D4 #7841D4
triadic
#4154D4 #D44154 #54D441
tetradic
#4154D4 #D4419E #D4C141 #41D478
square
#4154D4 #D4419E #D4C141 #41D478
split-complementary
#4154D4 #D47841 #9ED441
monochromatic
#1D297E #2839B0 #4154D4 #7381DF #A5AEEB

Accessibility & contrast

On white

6.10
#4154D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4154D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154D4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154D4#FFFFFF#000000##FFFFFF
##4154D41.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4154d4;
/* rgb */ color: rgb(65, 84, 212);
/* oklch */ color: oklch(51.0% 0.196 271.1);
Tailwind
colors: {
  custom: {
    50: '#8884e2',
    500: '#4154d4',
    950: '#000000',
  },
}
SCSS
$custom: #4154d4;
$custom-light: #8884e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4154d4",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 232.245,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5099,
    "c": 0.19638,
    "h": 271.1
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#4154D4
secondary
#D8D099
accent
#D142E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4154D4

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

Preview Lab → · Contrast checker → · Palette generator →

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