#4155D7#4155D7

#4155D7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.4% C 0.199 H 270.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4155D7
RGBrgb(65, 85, 215)
HSLhsl(232, 65%, 55%)
HSVhsv(232, 70%, 84%)
CMYKcmyk(69.8%, 60.5%, 0%, 15.7%)
CIE-LABlab(42.04, 35.30, -68.99)
CIE-LCHlch(42.04, 77.50, 297.10°)
OKLaboklab(51.42% 0.0031 -0.1991)
OKLCHoklch(51.42% 0.199 270.9)
XYZxyz(17.6900, 12.5254, 65.7622)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155D7 #D7C341
analogous
#41A0D7 #4155D7 #7841D7
triadic
#4155D7 #D74155 #55D741
tetradic
#4155D7 #D741A0 #D7C341 #41D778
square
#4155D7 #D741A0 #D7C341 #41D778
split-complementary
#4155D7 #D77841 #A0D741
monochromatic
#1B2982 #2639B5 #4155D7 #7482E2 #A6AFEC

Accessibility & contrast

On white

5.99
#4155D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4155D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155D7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155D7#FFFFFF#000000##FFFFFF
##4155D71.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4155d7;
/* rgb */ color: rgb(65, 85, 215);
/* oklch */ color: oklch(51.4% 0.199 270.9);
Tailwind
colors: {
  custom: {
    50: '#8884e4',
    500: '#4155d7',
    950: '#000000',
  },
}
SCSS
$custom: #4155d7;
$custom-light: #8884e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4155d7",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 215
  },
  "hsl": {
    "h": 232,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5142,
    "c": 0.19909,
    "h": 270.9
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#4155D7
secondary
#D9D19A
accent
#D240E8
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4155D7

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

Preview Lab → · Contrast checker → · Palette generator →

#4155D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva