#4154D9#4154D9

#4154D9 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.4% C 0.203 H 271.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4154D9
RGBrgb(65, 84, 217)
HSLhsl(233, 67%, 55%)
HSVhsv(233, 70%, 85%)
CMYKcmyk(70%, 61.3%, 0%, 14.9%)
CIE-LABlab(41.96, 36.63, -70.27)
CIE-LCHlch(41.96, 79.24, 297.53°)
OKLaboklab(51.41% 0.0038 -0.2028)
OKLCHoklch(51.41% 0.203 271.1)
XYZxyz(17.8704, 12.4724, 67.0978)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154D9 #D9C641
analogous
#41A0D9 #4154D9 #7A41D9
triadic
#4154D9 #D94154 #54D941
tetradic
#4154D9 #D941A0 #D9C641 #41D97A
square
#4154D9 #D941A0 #D9C641 #41D97A
split-complementary
#4154D9 #D97A41 #A0D941
monochromatic
#1B2885 #2537B8 #4154D9 #7482E3 #A7B0ED

Accessibility & contrast

On white

6.01
#4154D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4154D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154D9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154D9#FFFFFF#000000##FFFFFF
##4154D91.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4154d9;
/* rgb */ color: rgb(65, 84, 217);
/* oklch */ color: oklch(51.4% 0.203 271.1);
Tailwind
colors: {
  custom: {
    50: '#8984e6',
    500: '#4154d9',
    950: '#000000',
  },
}
SCSS
$custom: #4154d9;
$custom-light: #8984e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4154d9",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 232.5,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51409,
    "c": 0.20287,
    "h": 271.1
  },
  "luminance": 0.12474
}

Semantic roles & 50–950 ramp

primary
#4154D9
secondary
#DBD39B
accent
#D43EEA
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4154D9

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

Preview Lab → · Contrast checker → · Palette generator →

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