#4154C0#4154C0

#4154C0 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.170 H 271.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4154C0
RGBrgb(65, 84, 192)
HSLhsl(231, 50%, 50%)
HSVhsv(231, 66%, 75%)
CMYKcmyk(66.1%, 56.3%, 0%, 24.7%)
CIE-LABlab(40.03, 27.86, -58.97)
CIE-LCHlch(40.03, 65.22, 295.29°)
OKLaboklab(49.37% 0.0037 -0.1696)
OKLCHoklch(49.37% 0.17 271.3)
XYZxyz(14.8615, 11.2689, 51.2509)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154C0 #C0AD41
analogous
#4193C0 #4154C0 #6E41C0
triadic
#4154C0 #C04154 #54C041
tetradic
#4154C0 #C04193 #C0AD41 #41C06E
square
#4154C0 #C04193 #C0AD41 #41C06E
split-complementary
#4154C0 #C06E41 #93C041
monochromatic
#222C65 #313F93 #4154C0 #6F7DCF #9DA7DE

Accessibility & contrast

On white

6.45
#4154C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4154C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154C0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154C0#FFFFFF#000000##FFFFFF
##4154C01.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4154c0;
/* rgb */ color: rgb(65, 84, 192);
/* oklch */ color: oklch(49.4% 0.170 271.3);
Tailwind
colors: {
  custom: {
    50: '#8483d4',
    500: '#4154c0',
    950: '#000000',
  },
}
SCSS
$custom: #4154c0;
$custom-light: #8483d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4154c0",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 231.024,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49374,
    "c": 0.16969,
    "h": 271.3
  },
  "luminance": 0.1127
}

Semantic roles & 50–950 ramp

primary
#4154C0
secondary
#CBC292
accent
#C54EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4154C0

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

Preview Lab → · Contrast checker → · Palette generator →

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