#4154D3#4154D3

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

Color values

HEX#4154D3
RGBrgb(65, 84, 211)
HSLhsl(232, 62%, 54%)
HSVhsv(232, 69%, 83%)
CMYKcmyk(69.2%, 60.2%, 0%, 17.3%)
CIE-LABlab(41.48, 34.53, -67.61)
CIE-LCHlch(41.48, 75.92, 297.06°)
OKLaboklab(50.91% 0.0039 -0.195)
OKLCHoklch(50.91% 0.195 271.1)
XYZxyz(17.1042, 12.1659, 63.0622)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154D3 #D3C041
analogous
#419DD3 #4154D3 #7741D3
triadic
#4154D3 #D34154 #54D341
tetradic
#4154D3 #D3419D #D3C041 #41D377
square
#4154D3 #D3419D #D3C041 #41D377
split-complementary
#4154D3 #D37741 #9DD341
monochromatic
#1D297D #283AAE #4154D3 #7381DF #A4ADEA

Accessibility & contrast

On white

6.12
#4154D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4154D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154D3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154D3#FFFFFF#000000##FFFFFF
##4154D31.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4154d3;
/* rgb */ color: rgb(65, 84, 211);
/* oklch */ color: oklch(50.9% 0.195 271.1);
Tailwind
colors: {
  custom: {
    50: '#8884e1',
    500: '#4154d3',
    950: '#000000',
  },
}
SCSS
$custom: #4154d3;
$custom-light: #8884e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4154d3",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 232.192,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50907,
    "c": 0.19507,
    "h": 271.1
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#4154D3
secondary
#D7CF99
accent
#D042E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4154D3

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

Preview Lab → · Contrast checker → · Palette generator →

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