#4154C3#4154C3

#4154C3 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.6% C 0.174 H 271.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4154C3
RGBrgb(65, 84, 195)
HSLhsl(231, 52%, 51%)
HSVhsv(231, 67%, 76%)
CMYKcmyk(66.7%, 56.9%, 0%, 23.5%)
CIE-LABlab(40.25, 28.92, -60.36)
CIE-LCHlch(40.25, 66.93, 295.60°)
OKLaboklab(49.61% 0.0038 -0.1737)
OKLCHoklch(49.61% 0.174 271.3)
XYZxyz(15.1973, 11.4032, 53.0193)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154C3 #C3B041
analogous
#4195C3 #4154C3 #6F41C3
triadic
#4154C3 #C34154 #54C341
tetradic
#4154C3 #C34195 #C3B041 #41C36F
square
#4154C3 #C34195 #C3B041 #41C36F
split-complementary
#4154C3 #C36F41 #95C341
monochromatic
#212B69 #303F97 #4154C3 #707ED2 #9EA8E0

Accessibility & contrast

On white

6.40
#4154C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4154C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154C3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154C3#FFFFFF#000000##FFFFFF
##4154C31.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4154c3;
/* rgb */ color: rgb(65, 84, 195);
/* oklch */ color: oklch(49.6% 0.174 271.3);
Tailwind
colors: {
  custom: {
    50: '#8483d6',
    500: '#4154c3',
    950: '#000000',
  },
}
SCSS
$custom: #4154c3;
$custom-light: #8483d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4154c3",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 231.231,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.17377,
    "h": 271.3
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#4154C3
secondary
#CDC493
accent
#C74CDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4154C3

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

Preview Lab → · Contrast checker → · Palette generator →

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