#4155B7#4155B7

#4155B7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.156 H 270.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4155B7
RGBrgb(65, 85, 183)
HSLhsl(230, 48%, 49%)
HSVhsv(230, 64%, 72%)
CMYKcmyk(64.5%, 53.6%, 0%, 28.2%)
CIE-LABlab(39.65, 24.04, -54.33)
CIE-LCHlch(39.65, 59.41, 293.87°)
OKLaboklab(48.88% 0.0024 -0.156)
OKLCHoklch(48.88% 0.156 270.9)
XYZxyz(13.9728, 11.0385, 46.1849)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155B7 #B7A341
analogous
#4190B7 #4155B7 #6841B7
triadic
#4155B7 #B74155 #55B741
tetradic
#4155B7 #B74190 #B7A341 #41B768
square
#4155B7 #B74190 #B7A341 #41B768
split-complementary
#4155B7 #B76841 #90B741
monochromatic
#212B5D #31408A #4155B7 #6B7BCA #98A3DA

Accessibility & contrast

On white

6.55
#4155B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4155B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155B7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155B7#FFFFFF#000000##FFFFFF
##4155B71.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1363BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4155b7;
/* rgb */ color: rgb(65, 85, 183);
/* oklch */ color: oklch(48.9% 0.156 270.9);
Tailwind
colors: {
  custom: {
    50: '#8284cd',
    500: '#4155b7',
    950: '#000000',
  },
}
SCSS
$custom: #4155b7;
$custom-light: #8284cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4155b7",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 183
  },
  "hsl": {
    "h": 229.831,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48881,
    "c": 0.156,
    "h": 270.9
  },
  "luminance": 0.1104
}

Semantic roles & 50–950 ramp

primary
#4155B7
secondary
#C6BD8E
accent
#C051D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4155B7

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

Preview Lab → · Contrast checker → · Palette generator →

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